MCPcopy
hub / github.com/vuejs/core / retry

Function retry

packages/runtime-core/src/apiAsyncComponent.ts:70–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

userRetryFunction · 0.85
onErrorFunction · 0.85

Calls 1

loadFunction · 0.70

Tested by 1

onErrorFunction · 0.68