Initializer

init(_:)

Creates a publisher to emit the optional value of a successful result, or fail with an error.

Declaration

init(_ output: Optional<Wrapped>.Publisher.Output?)

Parameters

output

The optional value to deliver to each subscriber.