Type Alias: FetchAdapter
Imported from
@react-logic/utilsFetchAdapter = (
url,init) =>Promise<FetchResponse>
Defined in: utils/src/lib/fetch-adapter.ts:54
Plug your HTTP client in here. Takes a URL and the normalised init, and
returns a FetchResponse. May reject — fetchState catches and routes
the error into the failed state.
Parameters
Returns
Promise<FetchResponse>