We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1815350 commit afd8ec3Copy full SHA for afd8ec3
src/pools/abstract-pool.ts
@@ -1,4 +1,3 @@
1
-import { randomUUID } from 'node:crypto'
2
import { performance } from 'node:perf_hooks'
3
import { EventEmitter } from 'node:events'
4
import type {
@@ -926,7 +925,7 @@ export abstract class AbstractPool<
926
925
data: data ?? ({} as Data),
927
transferList,
928
timestamp,
929
- taskId: randomUUID(),
+ taskId: crypto.randomUUID(),
930
}
931
this.promiseResponseMap.set(task.taskId as string, {
932
resolve,
0 commit comments