Does the following make sense or am I reinventing ...
# coroutines
d
Does the following make sense or am I reinventing something?
Copy code
launch(CommonPool)
{
    whileSelect()
    {
        channel.onReceive()
        {
              launch(CommonPool)
              {
                     delay(1000L) // assume this is work
              }
              !channel.isClosedForSend
        }
    }
}