repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
docs: refine README.md
[poolifier.git]
/
examples
/
typescript
/
pool.ts
diff --git
a/examples/typescript/pool.ts
b/examples/typescript/pool.ts
index 7268ebdc599cfaf6a8951583c5d06d1ced71f9c3..869e62a8bf718020c155ae221b85921735a61d74 100644
(file)
--- a/
examples/typescript/pool.ts
+++ b/
examples/typescript/pool.ts
@@
-10,7
+10,7
@@
export const fixedPool = new FixedThreadPool<MyData, Promise<MyResponse>>(
console.error(e)
},
onlineHandler: () => {
- console.
log
('Worker is online')
+ console.
info
('Worker is online')
}
}
)
@@
-24,7
+24,7
@@
export const dynamicPool = new DynamicThreadPool<MyData, Promise<MyResponse>>(
console.error(e)
},
onlineHandler: () => {
- console.
log
('Worker is online')
+ console.
info
('Worker is online')
}
}
)