docs/concepts/stubs/api/calls-arg-with-async.md
stub.callsArgWithAsync(index)Causes the stub to call the argument at the provided index as a callback function, with the argument(s) provided, asynchronously.
<<< ../../../.vitepress/tests/docs/stubs/api/calls-arg-with-async.test.js
When the argument at the provided index is not available or is not a function, an Error will be thrown.