func next() -> Element?
The next value from the asynchronous stream.
Availability
Technology
struct Iterator
This type is not Sendable
. Don’t use it from multiple concurrent contexts. It is a programmer error to invoke next()
from a concurrent context that contends with another such call, which results in a call to fatal
.
func next() -> Element?
func makeAsyncIterator () -> AsyncThrowingStream<Element, Failure>.Iterator