FutureTaskStateMixinEx extension
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.
cb
and returns it's value if there is a running task.
If no task is running, returns null.