#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_event_bus_publisher(
bus: *const PamojaEventBus,
) -> *mut PamojaEventPublisherExpand description
Takes a publish-only handle on the same bus.
§Arguments
bus- an existing endpoint on the bus.
§Returns
A handle the caller must release with pamoja_event_publisher_free, or
null if bus is null.
§Safety
bus must be a live handle, or null.