Set the callback function that is called when new data may be * written to the stream.
See Implementation
Set the callback function that is called when new data may be * written to the stream.