connectEvent constant Null safety

EventStreamProvider<Event> const connectEvent

Static factory designed to expose connect events to event handlers that are not necessarily instances of SharedWorkerGlobalScope.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> connectEvent =
    const EventStreamProvider<Event>('connect');