Workers class
A class for managing a collection of workers and disposing them when necessary.
Constructors
-
Workers.new(List<
Worker> workers) -
Constructs a new Workers instance with the provided
workers
.
Properties
Methods
-
dispose(
) → void - Disposes all workers in the collection that have not already been disposed.
-
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