onMessage property

Stream<MessageEvent> onMessage

Stream of message events handled by this DedicatedWorkerGlobalScope.

Implementation

Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);