isolate_manager library
Classes
Functions
-
isolateWorker<
R, P> (IsolateWorkerFunction< R, P> function) → void -
Create a worker in your
main
.
Typedefs
-
IsolateCallback<
R> = FutureOr< bool> Function(R value) - Type for the callback of the isolate
-
IsolateConverter<
R> = R Function(dynamic) -
The type of the
converter
andworkerConverter
. -
IsolateCustomFunction
= FutureOr<
void> Function(dynamic params) -
Callback for the
createCustom
'sfunction
. -
IsolateFunction<
R, P> = FutureOr< R> Function(P params) -
The type of the
function
of the.create
method. -
IsolateOnDisposeCallback<
T> = void Function(IsolateManagerController controller) -
A callback for the
isolateCustomFunction
that will be executed only one time before all events. -
IsolateOnEventCallback<
R, P> = FutureOr< R> Function(IsolateManagerController controller, P message) -
A callback for the
isolateCustomFunction
that will be executed every time themessage
is received from thesendMessage
orexecute
method. -
IsolateOnInitialCallback<
T> = void Function(IsolateManagerController controller, T initialParams) -
A callback for the
isolateCustomFunction
that will be executed only one time before all events. -
IsolateWorkerFunction<
R, P> = FutureOr< R> Function(P message) -
A function for the
IsolateFunctionHelper.workerFunction
.