Pike v8.0 release 1738

Method Pike.PollDeviceBackend()->set_signal_event_callback()


Method set_signal_event_callback

optional void set_signal_event_callback(int signum, function(:void) cb)

Description

Request cb to be called from the backend when the signal signum is received.

Note

This function is a noop except for the kqueue case.

Note

Caveat emptor: Unlikely to work.

See also

signal()