Skip to main content

pamoja_event_bus_missed

Function pamoja_event_bus_missed 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_event_bus_missed( bus: *const PamojaEventBus, ) -> u64
Expand description

Counts the events this endpoint lost by falling behind.

§Arguments

  • bus - the endpoint to ask.

§Returns

How many events were dropped from this endpoint’s buffer before it read them, as of its last completed wait, or 0 if bus is null.

§Safety

bus must be a live handle, or null.