CancellationFuture<T> extension

Thrown when a job is cancellled

on

Methods

swallowCancellation() Future<T?>

Available on Future<T>, provided by the CancellationFuture extension

future.swallowCancellation().maybeThen(doSomething)