Generic Initializer

init(_:)

Creates a type-erasing subscriber to wrap an existing subscriber.

Declaration

init<S>(_ s: S) where Input == S.Input, Failure == S.Failure, S : Subscriber

Parameters

s

The subscriber to type-erase.

See Also