you will be able to call it like this: `with(watch...
# coroutines
n
you will be able to call it like this:
with(watcher) { watcherStarted() }
@jcechace
z
@Nikky is this different than just calling
watcher.watcherStarted()
?
n
yes, this way you can use extension function on CoroutineScope inside some class
z
So what
CoroutineScope
would it use?
Just whatever is currently visible same as if it were a top level function?
n
well this would be called either inside some launch / async / runBLocking or in a extension function on CoroutineScope
z
yeah, that's pretty cool. I didn't know that would work.