Enumeration_Concurrency5.9.0
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
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
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.