Tascalate Concurrent 0.9.4
Minor release with the following changes:
- Fix issue Unexpected cancellation behavior - now onTimeout / orTimeout methods with
cancelOnTimeout = truecorrectly and timely cancelsPromiseeven when used withExecutorhaving limited number of free threads (even in case of single-thread executor). However, the behavior may still be surprising forcancelOnTimeout = falsecase, while we always have to switch back to to the originalExecutorafter timeout (and if it has no free threads, then switching thread context is impossible). - Simplified
CallbackRegistryand related code inAbstractCompletableTask. - Fix error propagation in
CompletablePromise, fix cancellation ofcompleteAsyncresult (should not complete theCompletablePromise).