Skip to main content

compose_rust_host_dispatch_event

Function compose_rust_host_dispatch_event 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn compose_rust_host_dispatch_event( event: *const u8, len: u32, out: *mut MutationBatch, ) -> i32
Expand description

Dispatches one encoded event synchronously and returns its diff batch.

ยงSafety

event must address len readable bytes and out must be writable.