publish

fun <T> CoroutineScope.publish(
    context: CoroutineContext = EmptyCoroutineContext,
    block: suspend ProducerScope<T>.() -> Unit
): Publisher<T>

Deprecated: CoroutineScope.publish is deprecated in favour of top-level publish