Search
Preparing search index...
The search index is not available
pinus
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
CountDownLatch
Class CountDownLatch
Count down to zero or timeout and invoke cb finally.
Hierarchy
CountDownLatch
Index
Constructors
constructor
Properties
cb
count
timer
Id
Methods
done
Constructors
constructor
new
Count
Down
Latch
(
count
:
number
, opts
:
CountDownLatchOptions
, cb
:
CountDownLatchCallback
)
:
CountDownLatch
Parameters
count:
number
opts:
CountDownLatchOptions
cb:
CountDownLatchCallback
Returns
CountDownLatch
Properties
cb
cb
:
CountDownLatchCallback
count
count
:
number
timer
Id
timer
Id
:
any
Methods
done
done
(
)
:
void
Call when a task finish to count down.
api
public
Returns
void
Globals
Count
Down
Latch
constructor
cb
count
timer
Id
done
Count down to zero or timeout and invoke cb finally.