Worker class abstract

Implemented types
Annotations
  • @JS()
  • @anonymous

Constructors

Worker()

Properties

hashCode int
The hash code for this object.
no setterinherited
resourceLimits ResourceLimits
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderr Readable
no setter
stdin Writable
no setter
stdout Readable
no setter
threadId int
no setter

Methods

addListener(dynamic eventName, Function listener) → void
inherited
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6]) → void
inherited
eventNames() List
inherited
getHeapSnapshot() Promise
getMaxListeners() int
inherited
listenerCount(dynamic eventName) int
inherited
listeners(dynamic eventName) List<Function>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(dynamic eventName, Function listener) EventEmitter
inherited
once(dynamic eventName, Function listener) EventEmitter
inherited
postMessage(Object value, [List<Object> transferList]) → void
override
prependListener(dynamic eventName, Function listener) EventEmitter
inherited
prependOnceListener(dynamic eventName, Function listener) EventEmitter
inherited
rawListeners(dynamic eventName) List<Function>
inherited
ref() → void
override
removeAllListeners(dynamic eventName) EventEmitter
inherited
removeListener(dynamic eventName, Function listener) EventEmitter
inherited
setMaxListeners(int value) → void
inherited
terminate() Promise
toString() String
A string representation of this object.
inherited
unref() → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited