YieldResult

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

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

The various yield methods of AsyncThrowingStream.Continuation return this type to indicate the success or failure of yielding an element to the continuation.