executeCallbackTask

Schedule a Runnable task for eventual execution by the thread pool executor for callback operations. The implementation is free to run the task immediately or delay its execution arbitrarily. The task will not execute on an AvailThread.

Parameters

callback

The Callback to invoke.

argumentsTuple

The arguments A_Tuple to supply the callback.

completion

What to invoke when the callback semantically succeeds, whether in the same thread that the callback started in or not. It's passed an AvailObject which should be consistent with the expected result type of the Callback.

failure

What to invoke when it's determined that the callback has failed, whether in the same thread that the callback started in or not. It's passed a Throwable.