You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- A function, which can optionally receive the failed URL, that returns a fallback string to be used if all retries fail. This function is called when all retry attempts have failed.
149
149
150
-
### ScriptWithRetryOptions 类型说明
150
+
### ScriptWithRetryOptions Description
151
151
152
152
-**retryTimes**:
153
153
-`number`
@@ -157,7 +157,7 @@ type ScriptWithRetryOptions = {
157
157
-**retryDelay**:
158
158
-`number`
159
159
- optional
160
-
- The delay time between each retry (in milliseconds).
160
+
- The delay time between each retry (in milliseconds), default is 1000 (1 second).
161
161
162
162
-**moduleName**:
163
163
-`Array<string>`
@@ -191,7 +191,7 @@ init({
191
191
retryTimes: 3,
192
192
// the retry delay
193
193
retryDelay: 1000,
194
-
// the module name list that need to be retried, defualt behavior is to retry all modules
194
+
// the module name list that need to be retried, default behavior is to retry all modules
195
195
moduleName: ['remote1'],
196
196
// the callback function that will be called after all retried failed
0 commit comments