Close the resource with the given deadline.
Close the resource with the given deadline. This deadline is advisory, giving the callee some leeway, for example to drain clients or finish up other tasks.
Indicate that the producer of the bytestream has failed.
Indicate that the producer of the bytestream has failed. No further writes are allowed.
Write a chunk.
Write a chunk. The returned future is completed when the chunk has been fully read by the sink.
Only one outstanding write
is permitted, thus
backpressure is asserted.
Close the resource with the given timeout.
Close the resource with the given timeout. This timeout is advisory, giving the callee some leeway, for example to drain clients or finish up other tasks.
Close the resource.
Close the resource. The returned Future is completed when the resource has been fully relinquished.
Represents a Writer which is Closable.
Exists primarily for Java compatibility.