#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_event_bus_next(
bus: *mut PamojaEventBus,
out_event: *mut *mut PamojaBuffer,
) -> PamojaStatusExpand description
Waits for the next event on this endpoint.
§Arguments
bus- the endpoint to receive on.out_event- receives a buffer handle, or null when the bus has closed.
§Returns
PamojaStatus::Ok on success. A null out_event with an Ok status means
the bus closed rather than that anything failed.
§Safety
bus must be a live handle and out_event must be writable.