asOutputStream
Creates a blocking OutputStream parented by the parent job.
Cancellation propagation:
Canceling the parent job interrupts blocking writes but leaves this channel open.
Closing the stream closes this channel but does not cancel the parent job.
The caller is responsible for closing the stream.
Parameters
parent
a parent job for blocking writes.