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

louiscad

04/19/2017, 1:42 PM
I have a question about the
invokeOnCompletion { ... }
. It runs regardless of the fact that the coroutine was cancelled or just completed successfully, right?
e

elizarov

04/19/2017, 1:43 PM
Right
More preceisely, it runs when this specific continuation completes for any reason (including cancellation)
l

louiscad

04/19/2017, 1:44 PM
Perfect!
3 Views