Back to Rxswift

Other Protocols

docs/Other Protocols.html

6.10.21.4 KB
Original Source

Other Protocols

The following protocols are available globally.

`

                EventConvertible
                `

A type that can be converted to Event<Element>.

See more

Declaration

Swift

public protocol EventConvertible

`

                DataDecoder
                `

Represents an entity capable of decoding raw Data into a concrete Decodable type

See more

Declaration

Swift

public protocol DataDecoder

`

                ReactiveCompatible
                `

A type that has reactive extensions.

See more

Declaration

Swift

public protocol ReactiveCompatible

`

                InfallibleType
                `

Infallible is an Observable-like push-style interface which is guaranteed to not emit error events.

Unlike SharedSequence, it does not share its resources or replay its events, but acts as a standard Observable.

See more

Declaration

Swift

public protocol InfallibleType : ObservableConvertibleType

`

                PrimitiveSequenceType
                `

Observable sequences containing 0 or 1 element

See more

Declaration

Swift

public protocol PrimitiveSequenceType