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/websocket-server-pool/ws-hybrid...
[poolifier.git]
/
examples
/
typescript
/
pool.ts
diff --git
a/examples/typescript/pool.ts
b/examples/typescript/pool.ts
index 002bbbe2fdf7a4d19f5158d45e1b41620e7f2f20..57898d98a9d53a8c89c3d774847e9cae694a53fe 100644
(file)
--- a/
examples/typescript/pool.ts
+++ b/
examples/typescript/pool.ts
@@
-1,11
+1,11
@@
import { dirname, extname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
import { dirname, extname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
+import type { MyData, MyResponse } from './worker.js'
import {
DynamicThreadPool,
FixedThreadPool,
availableParallelism
} from 'poolifier'
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)),