The ExecutionContext
on which to run computations, assumed to be stack safe.
The ExecutionContext
on which to run computations, assumed to be stack safe.
Called in the event of an Await failure to alert the pipeline to cleanup
Called in the event of an Await failure to alert the pipeline to cleanup
Write a ByteVector to the wire.
Write a ByteVector to the wire. If a request is cancelled, or the stream is closed this method should return a failed Future with Cancelled as the exception
BodyChunk to write to wire
a future letting you know when its safe to continue
Write the ending chunk and, in chunked encoding, a trailer to the wire.
Write the ending chunk and, in chunked encoding, a trailer to the wire. If a request is cancelled, or the stream is closed this method should return a failed Future with Cancelled as the exception, or a Future with a Boolean to indicate whether the connection is to be closed or not.
BodyChunk to write to wire
a future letting you know when its safe to continue (if false
) or
to close the connection (if true
)
Creates a Task that writes the contents the Process to the output.
Creates a Task that writes the contents the Process to the output. Cancelled exceptions fall through to the Task cb
EntityBody to write out
the Task which when run will unwind the Process