Structure
StreamingMultipartParserAsyncSequence.AsyncIterator
An iterator over the sections of a streamed multipart message.
struct AsyncIterator
Topics
Instance Methods
func next() async throws(MultipartParserError) -> MultipartSection<BackingSequence.Element>?Advances to the next section of the message.func nextCollatedPart() async throws(MultipartParserError) -> MultipartSection<BackingSequence.Element>?Advances to the next section, gathering each part’s body chunks into a single section.func nextCollatedPart(isolation: isolated (any Actor)?) async throws(MultipartParserError) -> MultipartSection<BackingSequence.Element>?Advances to the next section, gathering each part’s body chunks into a single section, inheriting the caller’s actor isolation.
Type Aliases
typealias ElementThe sections produced by this iterator.
Default Implementations
Relationships
Conforms To
_Concurrency.AsyncIteratorProtocol