Initializer
init(asyncStream:byteBufferAllocator:)
Creates a chunked HTTP
Response steam using AsyncBodyStreamWriter.init(asyncStream: @escaping @Sendable (any AsyncBodyStreamWriter) async throws -> (), byteBufferAllocator: ByteBufferAllocator = ByteBufferAllocator())
Parameters
asyncStreamThe closure that will generate the results. MUST call
.endor.errorwhen terminating the streambyteBufferAllocatorThe allocator that is preferred when writing data to SwiftNIO