flame_tailored_isolate
library
Mixins
-
FlameTailoredIsolate<Q, R>
-
Mixin on
Component
that holds an instance of a long running tailored
isolate using the library integral_isolates.
Typedefs
-
IsolateCallback<Q, R>
= FutureOr<R> Function(Q message)
-
Signature for the callback passed to StatefulIsolate.compute.
-
IsolateComputeImpl
= Future<R> Function<Q, R>(IsolateCallback<Q, R> callback, Q message, {String? debugLabel})
-
Data type of the implementation of the computation function.
-
IsolateStream<Q, R>
= Stream<R> Function(Q message)
-
Signature for the callback passed to StatefulIsolate.computeStream.
-
IsolateStreamComputeImpl
= Future<R> Function<Q, R>(IsolateStream<Q, R> callback, Q message, {String? debugLabel})
-
Data type of the implementation of the stream function.
-
TailoredIsolateComputeImpl<Q, R>
= Future<R> Function(IsolateCallback<Q, R> callback, Q message, {String? debugLabel})
-
Data type of the implementation of the computation function.
Exceptions / Errors
-
BackpressureDropException
-
Exception that is thrown when a job is dropped due to backpressure.
-
DropException
-
Base exception that is thrown when job is dropped.
-
InitException
-
Exception that is thrown if init has not been called before starting to use
isolate.
-
IsolateClosedDropException
-
Exception that is thrown when a job is dropped due to isolate being closed.
-
UnexpectedDropException
-
Exception that preferably should never occur, but that will be thrown when
the isolate call was dropped in unexpected cases.