Optional
close500
The stream direction
A unique identifier for this stream
A Logger implementation used to log stream-specific information
Optional
metadataUser specific stream metadata
Optional
sendAfter the stream sink has closed, a limit on how long it takes to send a close-write message to the remote peer.
Optional
onInvoked when the stream has errored
Optional
onOptional
onOptional
onInvoked when the stream ends
Optional
err: ErrorOptional
on
How long to wait in ms for stream data to be written to the underlying connection when closing the writable end of the stream.