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