bullmq - v5.56.2
Preparing search index...
v2
ChildPool
Class ChildPool
Index
Constructors
constructor
Properties
free
retained
Methods
clean
get
All
Free
get
Free
kill
release
remove
retain
Constructors
constructor
new
ChildPool
(
masterFile
?:
string
)
:
ChildPool
Parameters
masterFile
:
string
= ...
Returns
ChildPool
Properties
free
free
:
{
[
key
:
string
]:
ChildProcessExt
[]
}
= {}
retained
retained
:
{
[
key
:
number
]:
ChildProcessExt
}
= {}
Methods
clean
clean
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
All
Free
getAllFree
()
:
ChildProcessExt
[]
Returns
ChildProcessExt
[]
get
Free
getFree
(
id
:
string
)
:
ChildProcessExt
[]
Parameters
id
:
string
Returns
ChildProcessExt
[]
kill
kill
(
child
:
ChildProcess
,
signal
?:
"SIGKILL"
|
"SIGTERM"
)
:
Promise
<
void
>
Parameters
child
:
ChildProcess
signal
:
"SIGKILL"
|
"SIGTERM"
= 'SIGKILL'
Returns
Promise
<
void
>
release
release
(
child
:
ChildProcessExt
)
:
void
Parameters
child
:
ChildProcessExt
Returns
void
remove
remove
(
child
:
ChildProcessExt
)
:
void
Parameters
child
:
ChildProcessExt
Returns
void
retain
retain
(
processFile
:
string
)
:
Promise
<
ChildProcessExt
>
Parameters
processFile
:
string
Returns
Promise
<
ChildProcessExt
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
free
retained
Methods
clean
get
All
Free
get
Free
kill
release
remove
retain
bullmq - v5.56.2
Loading...