MCPcopy
hub / github.com/TanStack/router / onSuccess

Method onSuccess

packages/start-plugin-core/src/queue.ts:107–112  ·  view source on GitHub ↗
(cb: (result: any, task: () => Promise<any>) => void)

Source from the content-addressed store, hash-verified

105 }
106
107 onSuccess(cb: (result: any, task: () => Promise<any>) => void) {
108 this.onSuccesses.push(cb)
109 return () => {
110 this.onSuccesses = this.onSuccesses.filter((d) => d !== cb)
111 }
112 }
113
114 stop() {
115 this.running = false

Callers 12

addCrawlPageTaskFunction · 0.80
useMutationFunction · 0.80
useMutationFunction · 0.80
useMutationFunction · 0.80
useMutationFunction · 0.80
mutateFunction · 0.80
mutateFunction · 0.80
mutateFunction · 0.80
mutateFunction · 0.80
useMutationFunction · 0.80
mutateFunction · 0.80
mutateFunction · 0.80

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected