https://kotlinlang.org logo
#coroutines
Title
# coroutines
h

Herko

02/22/2019, 11:53 AM
If I know my block will execute in the same coroutine context, how can I achieve the above by passing something into the block?
u

uli

02/22/2019, 11:56 AM
Explicitly type
block
as suspending lambda
t

trathschlag

02/22/2019, 11:57 AM
and there is
val block = suspend { ...
3 Views