repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Encapsulate logic of cluster and thread worker/pool (#116)
[poolifier.git]
/
src
/
pools
/
pool.ts
1
export interface
IPool
<
2
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3
Data
=
any
,
4
// eslint-disable-next-line @typescript-eslint/no-explicit-any
5
Response
=
any
6
> {
7
destroy
():
Promise
<
void
>
8
execute
(
data
:
Data
):
Promise
<
Response
>
9
}