Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/website-new/docs/en/plugin/plugins/retry-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ type ScriptWithRetryOptions = {
- The delay time between each retry (in milliseconds).

- **moduleName**:
- `string`
- `Array<string>`
- optional
- The module name, used to identify the module that needs to be retried.
- module name list, the value is the module name or module alias. Used to identify the module that needs to be retried. If not set, it defaults to retrying all modules that failed to load.

- **cb**:
- `(resolve: (value: unknown) => void, error: any) => void`
Expand Down
4 changes: 2 additions & 2 deletions apps/website-new/docs/zh/plugin/plugins/retry-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ type ScriptWithRetryOptions = {
- 每次重试之间的延迟时间(毫秒)。

- **moduleName**:
- `string`
- `Array<string>`
- 可选
- 模块名称,用于标识需要重试的模块。
- 模块名称列表,值为模块名称或模块别名。用于标识需要重试的模块。如果不设置,则默认对所有加载失败的模块进行重试

- **cb**:
- `(resolve: (value: unknown) => void, error: any) => void`
Expand Down
Loading