FfiCoreBindings constructor
FfiCoreBindings({
- required NativeBindings bindings,
- void onHandleCreated(
- int handleId
Creates an FfiCoreBindings backed by bindings.
If onHandleCreated is provided, it is called synchronously after a
handle is created (in run and start) with the monotonic handle ID.
Used by the isolate worker to send the handle ID to the supervisor
before entering a potentially blocking FFI call.
Implementation
FfiCoreBindings({
required NativeBindings bindings,
this.onHandleCreated,
}) : _bindings = bindings;