NativeImplementationsIsolate.fromRunInBackground constructor

NativeImplementationsIsolate.fromRunInBackground(
  1. ComputeRunner runInBackground
)

creates a NativeImplementationsIsolate based on a ComputeRunner as known from Client.runInBackground

Implementation

// ignore: deprecated_member_use_from_same_package
/// known from [Client.runInBackground]
factory NativeImplementationsIsolate.fromRunInBackground(
    ComputeRunner runInBackground) {
  return NativeImplementationsIsolate(
    computeCallbackFromRunInBackground(runInBackground),
  );
}