you can use `run` in chain of calls
# announcements
g
you can use
run
in chain of calls
r
gildor: what do you mean by chain?
g
Copy code
getFoo()
  .somethinElse()
  .run { makeItBaz(this) }
  .doSomethingWithBuz()
Now try to rewrite it using`when`
r
i got it. thanks