* 生成任务ID
()
| 271 | * 生成任务ID |
| 272 | */ |
| 273 | private generateTaskId(): string { |
| 274 | const timestamp = Date.now().toString(36); |
| 275 | const random = Math.random().toString(36).substring(2, 8); |
| 276 | return `task-${timestamp}-${random}`; |
| 277 | } |
| 278 | |
| 279 | /** |
| 280 | * 添加任务 |
no outgoing calls
no test coverage detected