init(output:completion:)
Creates a record publisher to publish the provided elements, followed by the provided completion value.
Declaration
init(output: [Output], completion: Subscribers.Completion<Failure>)Parameters
- output:
An array of output elements to publish.
- completion:
The completion value with which to end publishing.