repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-hybrid...
[poolifier.git]
/
examples
/
typescript
/
pool.ts
diff --git
a/examples/typescript/pool.ts
b/examples/typescript/pool.ts
index f85496434c2516eea46c7b5f1cde937565a2985d..3d9d9e6f482723cdb634e98bd02a9bbd46df3314 100644
(file)
--- a/
examples/typescript/pool.ts
+++ b/
examples/typescript/pool.ts
@@
-1,12
+1,11
@@
-import { dirname, extname, join } from 'path'
-import { fileURLToPath } from 'url'
+import { dirname, extname, join } from '
node:
path'
+import { fileURLToPath } from '
node:
url'
import type { MyData, MyResponse } from './worker'
import {
DynamicThreadPool,
FixedThreadPool,
availableParallelism
} from 'poolifier'
import type { MyData, MyResponse } from './worker'
import {
DynamicThreadPool,
FixedThreadPool,
availableParallelism
} from 'poolifier'
-import type { MyData, MyResponse } from './worker'
const workerFile = join(
dirname(fileURLToPath(import.meta.url)),
const workerFile = join(
dirname(fileURLToPath(import.meta.url)),