Dart_ThreadExitCallback typedef

Dart_ThreadExitCallback = Pointer<NativeFunction<Void Function()>>

A thread death callback function. This callback, provided by the embedder, is called before a thread in the vm thread pool exits. This function could be used to dispose of native resources that are associated and attached to the thread, in order to avoid leaks.

Implementation

typedef Dart_ThreadExitCallback = ffi.Pointer<ffi.NativeFunction<ffi.Void Function()>>;