PublisherResult

final public class PublisherResult<Output, Failure>

PublisherResult records events emitted by a publisher.

Version

1.0.0

Date

18/11/22

Author

Adamas
  • Received outputs

    Declaration

    Swift

    public internal(set) var outputs: [Output] { get }
  • Detected error

    Declaration

    Swift

    public internal(set) var failure: Failure? { get }
  • Whether the publisher has finished or not

    Declaration

    Swift

    public internal(set) var hasFinished: Bool { get }
  • Cancellable of the subscription

    Declaration

    Swift

    public internal(set) var cancellable: AnyCancellable? { get }