WebWorkerManager class
- Inheritance
-
- Object
- ThreadManager
- WebWorkerManager
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDestroyed ↔ bool
-
Flag indicating if the manager has been destroyed.
getter/setter pairinherited
- leastBusyThread → Thread
-
Gets the thread that is currently the least busy.
no setterinherited
- processorConfigs ↔ ProcessorConfigs
-
Configuration settings for the image processing.
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportWebWorkers → bool
-
final
-
tasks
→ List<
ThreadTaskModel> -
List of active tasks.
finalinherited
-
threads
→ List<
Thread> -
List of threads.
final
Methods
-
destroy(
) → void -
Destroys the thread manager and all associated threads.
inherited
-
destroyAllActiveTasks(
String ignoreId) → void -
Destroys all active tasks in each thread, except the task with the given
ignoreId
.inherited -
init(
ProImageEditorConfigs configs) → void -
Initializes the thread manager with the provided configuration settings.
override
-
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.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited