Enumeration Case 列挙ケース

AsyncThrowingStream.Continuation.YieldResult.enqueued(remaining:)

The stream successfully enqueued the element.

Declaration 宣言

case enqueued(remaining: Int)

Discussion 解説

This value represents the successful enqueueing of an element, whether the stream buffers the element or delivers it immediately to a pending call to next(). The associated value remaining is a hint that indicates the number of remaining slots in the buffer at the time of the yield call.

See Also 参照

Yield Results