collectInScopeSync
Listens to this event, and emit
s to the collector if it is called. Launches SharedFlow.collect on the underlying flow in the current CoroutineScope (taken from context), using the fitting synchronous Minecraft main thread dispatcher (syncDispatcher).