repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
First commit with a working example of fixed thread pool
[poolifier.git]
/
proof.js
1
const
FixedThreadPool
=
require
(
'./fixed'
)
2
3
const
o
= {
4
a
:
'asdfsadfafdgmnsdfmnbgsdfgbsdfmnbgsdfmnbgsmd,fbgsmndfbg'
5
}
6
const
pool
=
new
FixedThreadPool
(
3
)
7
pool
.
execute
(
JSON
.
stringify
,
o
).
then
(
res
=>
console
.
log
(
res
))