Generic Initializer

init(_:)

Creates a type-erasing publisher to wrap the provided publisher.

Declaration

init<P>(_ publisher: P) where Output == P.Output, Failure == P.Failure, P : Publisher

Parameters

publisher

A publisher to wrap with a type-eraser.