FuriEventLoopPendingCallback

Type Alias FuriEventLoopPendingCallback 

Source
pub type FuriEventLoopPendingCallback = Option<unsafe extern "C" fn(context: *mut c_void)>;
Expand description

Timer callback type for functions to be called in a deferred manner.

§Arguments

  • context (direction in, out) - pointer to a user-specific object that was provided during furi_event_loop_pend_callback() call

Aliased Type§

pub enum FuriEventLoopPendingCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.