@net-vert/core 0.3.1 → 0.3.2
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.
- package/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,11 +90,12 @@ interface CacheConfig {
|
|
|
90
90
|
### 并发池请求器(concurrentPoolRequestor)
|
|
91
91
|
```typescript
|
|
92
92
|
{
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
parallelCount?: number;
|
|
94
|
+
createId?: (config: UnifiedConfig) => string
|
|
95
95
|
}
|
|
96
96
|
```
|
|
97
97
|
- **maxConcurrent**:最大并行请求数量,默认为4
|
|
98
|
+
- **createId**:任务唯一标识生成函数(默认使用时间加随机数)
|
|
98
99
|
其他参数继承于重试请求器
|
|
99
100
|
|
|
100
101
|
### 重试请求器(retryRequestor)
|