Skip to main content

register_native_binding

Function register_native_binding 

Source
pub fn register_native_binding(
    node: u64,
    event_type: String,
    capture: bool,
    callback: Arc<dyn Fn() + Send + Sync>,
) -> u64
Expand description

Register a native-callback binding (the C-ABI / SDK path). Returns the token for the caller to hand back as the off token.