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