pub unsafe fn callback_reactor(callback: &str)
Expand description

Registers a callback function for reactors

Parameters

  • callback - Exported function that will be called back when the reactor is triggered (must match the callback signature that takes the u64 user_data) (if this is not specified the default will be “_reactor”)