Stream<MessageEvent> onMessage

Stream of message events handled by this Worker.

Source

@DomName('Worker.onmessage')
@DocsEditable()
Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);