Skip to main content

register_event_functions

Function register_event_functions 

Source
pub fn register_event_functions(linker: &mut Linker<HostState>) -> Result<()>
Expand description

Register api_on_event, api_off_event, api_emit_event, and the in-callback type/data read functions on the linker.