collectInScope

fun collectInScope(collector: FlowCollector<T>): Job(source)

Listens to this event, and emits to the collector if it is called. Launches SharedFlow.collect on the underlying flow in the current CoroutineScope (taken from context), using the dispatcher from the current scope.