Version of system.util.invokeAsynchronous() with arguments that get passed to the function.