MCPcopy
hub / github.com/alibaba/hooks / refreshAsync

Method refreshAsync

packages/hooks/src/useRequest/src/Fetch.ts:152–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 }
151
152 refreshAsync() {
153 // @ts-ignore
154 return this.runAsync(...(this.state.params || []));
155 }
156
157 mutate(data?: TData | ((oldData?: TData) => TData | undefined)) {
158 const targetData = isFunction(data) ? data(this.state.data) : data;

Callers

nothing calls this directly

Calls 1

runAsyncMethod · 0.95

Tested by

no test coverage detected