repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: use simple quote in error string
[poolifier.git]
/
examples
/
typescript
/
pool.ts
diff --git
a/examples/typescript/pool.ts
b/examples/typescript/pool.ts
index c2d0a1b8d1f1ba004993d820f8dcdef28f3bd7aa..7268ebdc599cfaf6a8951583c5d06d1ced71f9c3 100644
(file)
--- a/
examples/typescript/pool.ts
+++ b/
examples/typescript/pool.ts
@@
-1,6
+1,6
@@
import { join } from 'path'
import { join } from 'path'
-import { DynamicThreadPool, FixedThreadPool } from 'poolifier'
import type { MyData, MyResponse } from './worker'
import type { MyData, MyResponse } from './worker'
+import { DynamicThreadPool, FixedThreadPool } from 'poolifier'
export const fixedPool = new FixedThreadPool<MyData, Promise<MyResponse>>(
8,
export const fixedPool = new FixedThreadPool<MyData, Promise<MyResponse>>(
8,