FutureTaskStateMixinEx extension

on

Methods

withTask<T>(T cb(FutureTask task)) → T?
Executes the given cb and returns it's value if there is a running task. If no task is running, returns null.