MCPcopy
hub / github.com/simoneb/axios-hooks / RefetchFunction

Interface RefetchFunction

src/index.d.ts:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35export interface RefetchFunction<TBody, TResponse> {
36 (
37 config?: AxiosRequestConfig<TBody> | string,
38 options?: RefetchOptions
39 ): AxiosPromise<TResponse>
40 (e: Event): AxiosPromise<TResponse>
41}
42
43export type UseAxiosResult<TResponse = any, TBody = any, TError = any> = [
44 ResponseValues<TResponse, TBody, TError>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…