Documentation ¶
Index ¶
- func Bind[T, V any](obs rx.Observer[T], fn func(rx.Observer[T]) V) rx.Observer[V]
- func Filter[T any](obs rx.Observer[T], predicate func(T) bool) rx.Observer[T]
- func Lift[F rx.AnonymousObserver[T], T any](fn F) rx.Observer[T]
- func Lift2[F rx.AnonymousObserver2[K, V], K, V any](fn F) rx.Observer2[K, V]
- func Subscribe[O rx.AnonymousObserver[T], T any](observable rx.Observable[T], fn O) rx.Subscription
- func WithNext[T any](obs rx.Observer[T], next func(T)) rx.Observer[T]
- type Anonymous
- type Anonymous2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lift2 ¶ added in v0.0.24
func Lift2[F rx.AnonymousObserver2[K, V], K, V any](fn F) rx.Observer2[K, V]
func Subscribe ¶
func Subscribe[O rx.AnonymousObserver[T], T any]( observable rx.Observable[T], fn O, ) rx.Subscription
Types ¶
type Anonymous ¶
func (Anonymous[T]) OnComplete ¶
func (a Anonymous[T]) OnComplete()
OnComplete implements rx.Observer.
type Anonymous2 ¶ added in v0.0.24
func (Anonymous2[K, V]) OnComplete ¶ added in v0.0.24
func (a Anonymous2[K, V]) OnComplete()
OnComplete implements rx.Observer.
func (Anonymous2[K, V]) OnError ¶ added in v0.0.24
func (a Anonymous2[K, V]) OnError(err error)
OnError implements rx.Observer.
func (Anonymous2[K, V]) OnNext ¶ added in v0.0.24
func (a Anonymous2[K, V]) OnNext(k K, v V)
OnNext implements rx.Observer.
Click to show internal directories.
Click to hide internal directories.