anyone can explain why this code does not suspend ...
# coroutines
m
anyone can explain why this code does not suspend after the first
send
call, since the size of the channel is 1 and there is no receiver
Copy code
fun main() = runBlocking<Unit> {
    val brod = BroadcastChannel<Int>(1)

    for (i in 1..5) {
        brod.send(5)
        println("sent")
    }
    brod.close()
}
this code prints sent five times and completes and I am confused