Type Alias allo_isolate::ffi::DartPostCObjectFnType
source · pub type DartPostCObjectFnType = unsafe extern "C" fn(port_id: DartPort, message: *mut DartCObject) -> bool;Expand description
Posts a message on some port. The message will contain the Dart_CObject object graph rooted in ‘message’.
While the message is being sent the state of the graph of Dart_CObject structures rooted in ‘message’ should not be accessed, as the message generation will make temporary modifications to the data. When the message has been sent the graph will be fully restored.
port_id The destination port.
message The message to send.
return true if the message was posted.