Instance Method
next(isolation:)
Advances to the next serialized chunk, inheriting the caller’s actor isolation.
mutating func next(isolation actor: isolated (any Actor)? = #isolation) async throws -> OutboundBody?
Parameters
actorThe actor to remain isolated to.
Return Value
The next chunk of serialized multipart data, or nil once the sections run out.
Discussion
Throws
Any error thrown by the backing sequence of sections.