WorkerBuilder class
Constructors
- WorkerBuilder()
-
factory
Properties
Methods
-
global(
String name, Taker function) → WorkerBuilder -
host(
String name, Function function) → WorkerBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
slave(
String name, Taker function) → WorkerBuilder -
spawn(
[WorkerFunction? function]) → Future< WorkerSocket> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
defaultWorkerFunction(
Worker worker) → Future< WorkerSocket>