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.

    Cases

    • 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.

    Other members in extension

    Types

    • enum BufferingPolicy

      A strategy that handles exhaustion of a buffer’s capacity.

    • enum YieldResult

      A type that indicates the result of yielding a value to a client, by way of the continuation.

    Instance members

    Citizens in _Concurrency

    Conformances

    Type features