@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.
Files changed (2) hide show
  1. package/README.md +3 -2
  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
- maxConcurrent: number
94
- queueTimeout?: number
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-vert/core",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Dependency Inversion Network Library with Type-Safe Injection.",
5
5
  "main": "dist/index",
6
6
  "type": "module",