The URL to make the Request to
The data of the Request
Optionaloptions: { onTimeout?: Function; timeoutMs?: null | number } = {}Additional options
OptionalonTimeout?: FunctionA method to invoke if and when the timeout is reached
OptionaltimeoutMs?: null | numberHow long to wait for a Response before cleanly aborting.
If null, no timeout is applied. Default: 30000.
A wrapper method around
fetchthat attaches an AbortController signal to thefetchcall for clean timeouts