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
Members
case cancelled
The stream finished as a result of cancellation.
case finished(Failure?)
The stream finished as a result of calling the continuation’s
finish
method.