SkipWhile Operator

February 25, 2020 ยท View on GitHub

Overview

Suppress the Observable items while a condition is not met.

Example

observable := rxgo.Just(1, 2, 3, 4, 5)().SkipWhile(func(i interface{}) bool {
	return i != 2
})

Output:

2
3
4
5

Options

  • WithBufferedChannel

  • WithContext

  • WithObservationStrategy

  • WithErrorStrategy

  • WithPublishStrategy

Contents

  1. 1Overview
  2. 2Example
  3. 3Options