furi_event_loop_subscribe_thread_flags

Function furi_event_loop_subscribe_thread_flags 

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

Subscribe to thread flag events of the current thread

ยงArguments

  • instance - The Event Loop instance
  • callback - The callback to call when a flag has been set
  • context - The context for callback