MessagePort$Typings extension
- on
Properties
-
addEventListener
→ ({void Function<
K$ extends Event>(MessagePortEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MessagePort, provided by the MessagePort$Typings extension
Overload accessor: $1, $2no setter - close ↔ void Function()
-
Available on MessagePort, provided by the MessagePort$Typings extension
getter/setter pair - onmessage ↔ dynamic Function(MessageEvent)?
-
Available on MessagePort, provided by the MessagePort$Typings extension
MDN Referencegetter/setter pair - onmessageerror ↔ dynamic Function(MessageEvent)?
-
Available on MessagePort, provided by the MessagePort$Typings extension
MDN Referencegetter/setter pair -
postMessage
→ ({void Function(List<
Object> transfer, [dynamic message]) $1, void Function([dynamic message, StructuredSerializeOptions? options]) $2}) -
Available on MessagePort, provided by the MessagePort$Typings extension
Overload accessor: $1, $2no setter -
removeEventListener
→ ({void Function<
K$ extends Event>(MessagePortEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on MessagePort, provided by the MessagePort$Typings extension
Overload accessor: $1, $2no setter - start ↔ void Function()
-
Available on MessagePort, provided by the MessagePort$Typings extension
getter/setter pair