TailoredIsolateGetter<Q, R> class abstract

Interface for exposing the compute function for a TailoredStatefulIsolate.

Useful for when wrapping the functionality and just want to expose the computation function.

Constructors

TailoredIsolateGetter()

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

compute(IsolateCallback<Q, R> callback, Q message, {String? debugLabel}) Future<R>
The computation function, a function used the same way as Flutter's compute function, but for a long lived isolate.
computeStream(IsolateStream<Q, R> callback, Q message, {String? debugLabel}) Stream<R>
A computation function that returns a Stream of responses from the long lived isolate.
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