Enumerations

The following enumerations are available globally.

  • Failure type of the RxBridge publisher.

    Either:

    • An Error forwarded from a upstream Observable, or – A notice that the publisher terminated the subscription due to the upstream Observable emitting at a greater rate than was specified when the publisher was created.

    Declaration

    Swift

    public enum RxBridgeFailure : Error
  • 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 the Publisher with a RxBridgeFailure.bufferOverflow and end the sequence.

    Declaration

    Swift

    public enum RxBridgeBufferingStrategy