MessagePasser class abstract
An interface for the common message-passing methods between WorkerMessagePort and Worker.
- Implemented types
- Implementers
Constructors
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
-
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 -
prependListener(
dynamic eventName, Function listener) → EventEmitter -
inherited
-
prependOnceListener(
dynamic eventName, Function listener) → EventEmitter -
inherited
-
rawListeners(
dynamic eventName) → List< Function> -
inherited
-
ref(
) → void -
removeAllListeners(
dynamic eventName) → EventEmitter -
inherited
-
removeListener(
dynamic eventName, Function listener) → EventEmitter -
inherited
-
setMaxListeners(
int value) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unref(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited