Method Stdio.File()->query_callbacks()


Method query_read_callback
Method query_write_callback
Method query_read_oob_callback
Method query_write_oob_callback
Method query_close_callback
Method query_callbacks

read_callback_t query_read_callback()
write_callback_t query_write_callback()
read_oob_callback_t query_read_oob_callback()
write_oob_callback_t query_write_oob_callback()
close_callback_t query_close_callback()
array(function(mixed, void|string:int)|zero) query_callbacks()

Description

These functions return the currently installed callbacks for the respective events.

query_callbacks returns the callbacks in the same order as set_callbacks and set_nonblocking expect them.

See also

set_nonblocking(), set_read_callback, set_write_callback, set_read_oob_callback, set_write_oob_callback, set_close_callback, set_callbacks