clients would use it like that ``` private fun in...
# coroutines
u
clients would use it like that
Copy code
private fun increment() {
        launch(job + UI) {
            model.incrementCounter()
        }
    }

private fun subscribeToModel() = launch(job + UI) {
    val channel = model.getCounterUpdates(context)
    for (counterValue in channel) {
        rootView.user_counter.text = "$counterValue"
    }
}