Enumerations
The following enumerations are available globally.
-
Failure
type of theRxBridge
publisher.Either:
- An
Error
forwarded from a upstreamObservable
, or – A notice that the publisher terminated the subscription due to the upstreamObservable
emitting at a greater rate than was specified when the publisher was created.
Declaration
Swift
public enum RxBridgeFailure : Error
- An
-
Buffering strategy options for the
.bridgeToCombine(bufferSize:whenFull:)
operator.When the buffer is full, for subsequent upstream elements:
.dropNewest
: will discard additional elements..dropOldest
: will purge the oldest element and append the new element to the buffer..fail
: will complete thePublisher
with aRxBridgeFailure.bufferOverflow
and end the sequence.
Declaration
Swift
public enum RxBridgeBufferingStrategy