Releases: metalabdesign/AsyncAwait
Releases · metalabdesign/AsyncAwait
1.0.0
Version 0.9.5
Update for Kotlin 1.1 RC1
Version 0.9
Support Kotlin 1.1-beta-22
Version 0.8
Support Kotlin 1.1-M4
Version 0.7
- Built upon Kotlin 1.1-M2
Version 0.6
- Added
async.cancelAll()function to cancel all tasks started withawaitfor current object. Good to call inActivity.onDestroyto avoid memory leaks; - Added
finally{}block to run code afteronErroror when coroutine finished succesfully; - Every object using
asyncnow has its own single thread executor to runawaittasks. E.g. one for each Activity or Fragment instance; try/catchgained more priority in exception handling insideasync{}block;- Unhandled exceptions now wrapped in
AsyncExceptionto provide better stacktrace to the place whereasyncbeen called originally in UI thread.