AsyncExecutorThread class abstract
Base class for executor thread implementation.
- Available Extensions
Constructors
- AsyncExecutorThread(String executorName, AsyncTaskLoggerCaller logger, bool sequential)
Properties
- executorName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → AsyncExecutorThreadInfo
-
no setter
- logger → AsyncTaskLoggerCaller
-
final
- maximumWorkers → int
-
no setter
- platform → AsyncTaskPlatform
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequential → bool
-
final
Methods
-
bindTask(
AsyncTask task) → void -
close(
) → Future< bool> - Closes this instance.
-
Disposes SharedData sent to other
threads/isolates
. -
Disposes SharedData sent to other
threads/isolates
. -
execute<
P, R> (AsyncTask< P, R> task, { }) → Future<R> -
Executes
task
in this thread. -
finishTask<
P, R> (AsyncTask< P, R> task, DateTime? initTime, DateTime? endTime, R result, [Object? error, StackTrace? stackTrace]) → void - Perform a task finish operation.
-
isInExecutionContext(
AsyncTask task) → bool -
if
true
, indicates that the current context is inside AsyncTask.run. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → FutureOr< bool> - Starts this thread.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited