onMessage property

Stream<MessageEvent> get onMessage

Stream of message events handled by this DedicatedWorkerGlobalScope.

Implementation

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