uniffi

Type Alias RustTaskCallback

Source
pub type RustTaskCallback = extern "C" fn(_: *const (), _: RustTaskCallbackCode);
Expand description

Reexport items from other uniffi creates Callback for a Rust task, this is what the foreign executor invokes

The task will be passed the task_data passed to ForeignExecutorCallback in addition to one of the RustTaskCallbackCode values.