Many providers support setting a custom fetch function using the fetch argument in their factory function.
A custom fetch function can be used to intercept and modify requests before they are sent to the provider's API,
and to intercept and modify responses before they are returned to the caller.