Dart_MessageNotifyCallback typedef

Dart_MessageNotifyCallback = Pointer<NativeFunction<Void Function(Dart_Isolate destination_isolate)>>

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.

Implementation

typedef Dart_MessageNotifyCallback = ffi.Pointer<ffi.NativeFunction<ffi.Void Function(Dart_Isolate destination_isolate)>>;