Static factory designed to expose connect events to event handlers that are not necessarily instances of SharedWorkerGlobalScope.
connect
See EventStreamProvider for usage information.