flipperzero_sys

Function furi_event_loop_pend_callback

Source
pub unsafe extern "C" fn furi_event_loop_pend_callback(
    instance: *mut FuriEventLoop,
    callback: FuriEventLoopPendingCallback,
    context: *mut c_void,
)
Expand description

Call a function when all preceding timer commands are processed

This function may be useful to call another function when the event loop has been started.

ยงArguments

  • instance (direction in, out) - pointer to the current FuriEventLoop instance
  • callback (direction in) - pointer to the callback to be executed when previous commands have been processed
  • context (direction in, out) - pointer to a user-specific object (will be passed to the callback)