Structuresoto-core 7.7.3SotoCore
AsyncIterator
ByteBufferSequence.swift:36struct AsyncIteratorstruct AsyncIteratorimport SotoCorestruct ByteBufferAsyncSequenceProvide ByteBuffer as an AsyncSequence of equal size blocks
func makeAsyncIterator() -> ByteBufferAsyncSequence.AsyncIterator typealias Element = ByteBufferprotocol AsyncIteratorProtocol<Element, Failure>A type that asynchronously supplies the values of a sequence one at a time.
mutating func next() async throws -> ByteBuffer? mutating func next() async throws(Self.Failure) -> Self.Element? Default implementation of next() in terms of next(isolation:), which is required to maintain backward compatibility with existing async iterators.
mutating func next(isolation actor: isolated (any Actor)?) async throws(Self.Failure) -> Self.Element? Default implementation of next(isolation:) in terms of next(), which is required to maintain backward compatibility with existing async iterators.