Allows a host application to supply its own fetch() implementation (e.g. one which integrates with a CLI framework's shutdown handling and timeout support) instead of a repository or plugin manager calling fetch() directly.
fetch()
Perform a fetch request.
the URL to fetch.
Optional
standard RequestInit fields plus an optional timeoutMs.
RequestInit
timeoutMs
the Response. Rejects the same way native fetch() does.
Response
Allows a host application to supply its own
fetch()implementation (e.g. one which integrates with a CLI framework's shutdown handling and timeout support) instead of a repository or plugin manager callingfetch()directly.