Method Pipe.pipe()->set_output_closed_callback()
- Method set_output_closed_callback
voidset_output_closed_callback(void|function(mixed,object:mixed)close_cb,void|mixedid)- Description
Set the callback function to be called when one of the outputs has been closed from the other side.