pub type WhiskerModuleEventCallback = extern "C" fn(user_data: *mut c_void, payload: *const WhiskerValueRaw);Expand description
Callback type for module event subscriptions. Fired by the bridge
when a registered (module, event) pair receives a
whisker_bridge_module_send_event call. payload is borrowed —
the bridge frees its allocations once the callback returns.