ThreadManager class abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDestroyed ↔ bool
-
Flag indicating if the manager has been destroyed.
getter/setter pair
- leastBusyThread → Thread
-
Gets the thread that is currently the least busy.
no setter
- processorConfigs ↔ ProcessorConfigs
-
Configuration settings for the image processing.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tasks
→ List<
ThreadTaskModel> -
List of active tasks.
final
-
threads
→ List<
Thread> -
List of threads.
no setter
Methods
-
destroy(
) → void - Destroys the thread manager and all associated threads.
-
destroyAllActiveTasks(
String ignoreId) → void -
Destroys all active tasks in each thread, except the task with the given
ignoreId
. -
init(
ProImageEditorConfigs configs) → void - Initializes the thread manager with the provided configuration settings.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
ThreadRequest data) → Future< Uint8List?> - Sends a ThreadRequest to the least busy thread and returns the result as a Uint8List.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited