(handler: (e: T) => Promise<void>)
| 248 | private handler: (e: T) => Promise<void> |
| 249 | |
| 250 | constructor(handler: (e: T) => Promise<void>) { |
| 251 | this.handler = handler |
| 252 | } |
| 253 | |
| 254 | public enqueue(e: T): void { |
| 255 | // 每次把新任务链到上一个任务后面 |
nothing calls this directly
no outgoing calls
no test coverage detected