@next-core/next-docs 1.2.520 → 1.2.521
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,7 @@ custom_edit_url: null
|
|
|
11
11
|
|
|
12
12
|
## ProviderPollOptions.expectPollStopImmediately property
|
|
13
13
|
|
|
14
|
-
提供一个方法以校验轮询是否应该立即停止,还在等待或进行中的轮询将失效,
|
|
14
|
+
提供一个方法以校验轮询是否应该立即停止,还在等待或进行中的轮询将失效, 会触发 `finally` 事件,不会触发 `progress|success|error` 等事件。
|
|
15
15
|
|
|
16
16
|
**Signature:**
|
|
17
17
|
|
|
@@ -28,7 +28,7 @@ export interface ProviderPollOptions
|
|
|
28
28
|
| [else](./brick-types.providerpolloptions.else.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 不满足条件分支 |
|
|
29
29
|
| [enabled](./brick-types.providerpolloptions.enabled.md) | boolean | 是否启用轮询。 |
|
|
30
30
|
| [expectPollEnd](./brick-types.providerpolloptions.expectpollend.md) | (result: unknown) => boolean | 提供一个方法以校验轮询是否应该结束。 该方法接收一个参数:当前轮询的执行结果。 轮询结束时将触发 <code>callback.success</code> 事件。 |
|
|
31
|
-
| [expectPollStopImmediately](./brick-types.providerpolloptions.expectpollstopimmediately.md) | () => boolean | 提供一个方法以校验轮询是否应该立即停止,还在等待或进行中的轮询将失效,
|
|
31
|
+
| [expectPollStopImmediately](./brick-types.providerpolloptions.expectpollstopimmediately.md) | () => boolean | 提供一个方法以校验轮询是否应该立即停止,还在等待或进行中的轮询将失效, 会触发 <code>finally</code> 事件,不会触发 <code>progress|success|error</code> 等事件。 |
|
|
32
32
|
| [interval](./brick-types.providerpolloptions.interval.md) | number | 每次轮询间隔时间(毫秒),默认为 <code>3000</code>。 |
|
|
33
33
|
| [leadingRequestDelay](./brick-types.providerpolloptions.leadingrequestdelay.md) | number | 第一次轮询延迟时间(毫秒),默认为 <code>0</code>。 |
|
|
34
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/next-docs",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.521",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@easyops-cn/brick-next-pipes": "^0.6.0",
|
|
35
|
-
"@next-core/brick-kit": "^2.
|
|
36
|
-
"@next-core/brick-types": "^2.
|
|
35
|
+
"@next-core/brick-kit": "^2.190.0",
|
|
36
|
+
"@next-core/brick-types": "^2.94.0",
|
|
37
37
|
"fs-extra": "^10.1.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "e49227c30b699cf3732e270d05b3623f2ddec3ba"
|
|
40
40
|
}
|