Join Slack
Powered by
Got it. Also what are the semantics if you trigger...
# announcements
d
Dexter
04/21/2018, 1:07 AM
Got it. Also what are the semantics if you trigger an exception in one of the deferred lambdas? I hope you would absorb the exception and execute all the lambdas. Also I would expect the deferred lambdas to be executed in LIFO order.
g
gildor
04/23/2018, 8:02 AM
Nothing prevents you to implement
withDefer
according to your description. Also check this
https://discuss.kotlinlang.org/t/is-gos-defer-possible-in-kotlin/625#5511629
2
Views
Open in Slack
Previous
Next