Skip to content

Instance Method

next()

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.
mutating func next() async throws(MultipartParserError) -> MultipartSection<BackingSequence.Element>?

Return Value

The next element, if it exists, or nil to signal the end of the sequence.