call
abstract fun call( argumentsTuple: A_Tuple, completion: CallbackSystem.CallbackCompletion, failure: CallbackSystem.CallbackFailure)
Content copied to clipboard
Invoke this Java callback, whose actual behavior is specified by (anonymous) subclasses / lambda expressions. This should be invoked via CallbackSystem.executeCallbackTask.
Parameters
arguments Tuple
The A_Tuple of arguments that Avail code has provided.
completion
What to invoke when this callback is considered complete, if ever, passing the callback's output value to it. This must be invoked at most once by the callback.
failure
What to invoke when this callback is considered to have completed unsuccessfully, passing the Throwable that was caught. This must be invoked at most once by the callback.