Termination

    A type that indicates how the stream terminated.

    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    enum Termination

    The onTermination closure receives an instance of this type.

    Citizens in _Concurrency

    Conformances

    Members

    • case cancelled

      The stream finished as a result of cancellation.

    • case finished

      The stream finished as a result of calling the continuation’s finish method.

    Features