Tip: Unlike the produce coroutine builder, you’ll need to explicitly stop the actor when it’s no longer needed. The receiving coroutine will still suspend execution until something becomes available on the channel.val channel = Channel
kotlin channel usage 2021