init(_:)
Creates a publisher that immediately terminates upon subscription with the given failure.
Declaration
init(_ failure: Failure)Parameters
- failure:
The failure to send when terminating.
Creates a publisher that immediately terminates upon subscription with the given failure.
init(_ failure: Failure)The failure to send when terminating.