Custom hook to create an asynchronous function reference.
The initial asynchronous function.
An object implementing AsyncFuncRef.
Custom hook to create an asynchronous function reference.