Join Slack
Powered by
Does arrow have anything to handle a finally block...
# arrow
b
Brandon Ward
06/24/2019, 5:38 PM
Does arrow have anything to handle a finally block? Something like
Try.invoke{canThrow()}.finally{cleanup()}
i
Imran/Malic
06/24/2019, 5:42 PM
Generally, Try is not recommended to do any sort of IO operations in a functional way.
r
raulraja
06/24/2019, 6:02 PM
Bracket
raulraja
06/24/2019, 6:03 PM
https://arrow-kt.io/docs/arrow/effects/typeclasses/bracket/
6
Views
Open in Slack
Previous
Next