Writing a WebWorker in Dart (without dart:isolate)
The Worker
class seems to support what you want.
- You can use
postMessage
to send messages to it - You can subscribe to
onMessage
to receive messages - You can use
terminate
to terminate it
The Worker
class seems to support what you want.
postMessage
to send messages to itonMessage
to receive messagesterminate
to terminate it