UNPKG
@pown/connect
Version:
latest (3.12.1)
3.12.1
3.12.0
3.11.0
3.10.0
3.9.0
3.8.0
3.7.3
3.7.2
3.7.1
3.7.0
3.6.1
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
3.1.0
3.0.10
3.0.9
3.0.8
3.0.6
2.2.1
2.2.0
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
Pownage guaranteed
github.com/pownjs/pown/tree/master/packages/connect
pownjs/pown
@pown/connect
/
commands
/
connect
/
options
/
scheduler
/
handler.js
10 lines
(7 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
init
= (options, scheduler) => {
const
{ connectConcurrency } =
options
if
(
connectConcurrency
)
{ scheduler.update({ maxConcurrent: connectConcurrency }) } } module.exports = {
init
}