init(error:)
Creates a publisher that immediately terminates with the specified failure.
Declaration
init(error: Failure)Parameters
- error:
The failure to send when terminating the publisher.
Creates a publisher that immediately terminates with the specified failure.
init(error: Failure)The failure to send when terminating the publisher.