#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_loopback_transport_recv(
transport: *mut PamojaLoopbackTransport,
out_message: *mut *mut PamojaMessage,
) -> PamojaStatusExpand description
Waits for the next message on a subscribed topic.
§Arguments
transport- the link.out_message- receives a message handle, or null when the link is closed.
§Returns
PamojaStatus::Ok on success. A null out_message with an Ok status
means the link closed rather than that anything failed.
§Safety
transport must be a live handle and out_message must be writable.