IsolateManagerFunction class abstract

The helper functions for the IsolateManager.

Constructors

IsolateManagerFunction()

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, IsolateOnInitCallback<R, P>? onInit, IsolateOnDisposeCallback<R, P>? onDispose, bool autoHandleException = true, bool autoHandleResult = true}) → Future<void>
Create a custom isolate function.
customWorkerFunction(IsolateWorkerFunction<void, dynamic> function) → void
Create a custom Worker function.
sharedWorkerFunction(Map<String, Function> map) → void
Create a worker in your main.
workerFunction<R, P>(IsolateWorkerFunction<R, P> function, {IsolateOnInitCallback<R, P>? onInit}) → Future<void>
Create a worker in your main.