IsolateFunctionHelper class

Annotations
  • @Deprecated('Use `IsolateManagerFunction` instead')

Constructors

IsolateFunctionHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

customFunction<R, P>(dynamic params, {required IsolateOnEventCallback<R, P> onEvent, IsolateOnInitialCallback? onInitial, IsolateOnDisposeCallback? onDispose, bool autoHandleException = true, bool autoHandleResult = true}) Future<void>
Create a custom isolate function.
workerFunction<R, P>(IsolateWorkerFunction<R, P> function, {FutureOr<void> onInitial()?}) Future<void>
Create a worker in your main.