Skip to main content

dioxus_compose_host_dispatch_event

Function dioxus_compose_host_dispatch_event 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn dioxus_compose_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.