func yield(Element) -> AsyncThrowingStream<Element, Failure>.Continuation.YieldResult
Resume the task awaiting the next iteration point by having it return nomally from its suspension point with a given element.
func yield(with: Result<Element, Failure>) -> AsyncThrowingStream<Element, Failure>.Continuation.YieldResult
Resume the task awaiting the next iteration point by having it return normally or throw, based on a given result.
enum AsyncThrowingStream.Continuation.YieldResult
A type that indicates the result of yielding a value to a client, by way of the continuation.