void set_write_callback(function(void|mixed:int) write)
Install a function to be called when data can be written.