pub unsafe extern "C" fn furi_event_loop_tick_set(
instance: *mut FuriEventLoop,
interval: u32,
callback: FuriEventLoopTickCallback,
context: *mut c_void,
)Expand description
Set Event Loop tick callback
Tick callback is called periodically after specified inactivity time. It acts like a low-priority timer: it will only fire if there is time left after processing the synchronization primitives and the regular timers. Therefore, it is not monotonic: ticks will be skipped if the event loop is busy.
ยงArguments
instance- The Event Loop instanceinterval(direction in) - The tick intervalcallback(direction in) - The callback to callcontext- The context for callback