you can use this pattern without additional val ``...
# kvision
r
you can use this pattern without additional val
Copy code
progressBar(obs.value, 0, 100).apply {
                obs.subscribe {
                    this.progress = it
                }
            }