init(_:)
Creates a publisher to emit the value of the optional, or to finish immediately if the optional doesn’t have a value.
Declaration
init(_ output: Optional<Wrapped>.Publisher.Output?)Parameters
- output:
The result to deliver to each subscriber.