#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_event_bus_free(
bus: *mut PamojaEventBus,
)Expand description
Releases an event bus endpoint.
Other endpoints on the same bus keep working.
Passing null is a no-op.
ยงSafety
bus must be a handle from pamoja_event_bus_new or
pamoja_event_bus_subscribe that has not already been freed, or null.
After this call it must not be used again.