MCPcopy
hub / github.com/vuejs/composition-api / retry

Function retry

src/component/defineAsyncComponent.ts:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67 let retries = 0
68 const retry = () => {
69 retries++
70 pendingRequest = null
71 return load()
72 }
73
74 const load = (): Promise<ComponentOrComponentOptions> => {
75 let thisRequest: Promise<ComponentOrComponentOptions>

Callers 2

onErrorFunction · 0.85
userRetryFunction · 0.85

Calls 1

loadFunction · 0.85

Tested by 1

onErrorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…