pub type Dart_MessageNotifyCallback = Option<unsafe extern "C" fn(destination_isolate: Dart_Isolate)>;
Expand description

A message notification callback.

This callback allows the embedder to provide a custom wakeup mechanism for the delivery of inter-isolate messages. This function is called once per message on an arbitrary thread. It is the responsibility of the embedder to eventually call Dart_HandleMessage once per callback received with the destination isolate set as the current isolate to process the message.

Aliased Type§

enum Dart_MessageNotifyCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut _Dart_Isolate)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _Dart_Isolate))

Some value of type T.