WorkerMessagePort class abstract

Implemented types
Annotations
  • @JS()
  • @anonymous

Constructors

WorkerMessagePort()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(dynamic eventName, Function listener) → void
inherited
close() → void
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6]) → void
inherited
eventNames() List
inherited
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
start() → void
toString() String
A string representation of this object.
inherited
unref() → void
override

Operators

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