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

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

See EventStreamProvider for usage information.