DrainStrategy
DrainStrategy controls when concurrent evaluation runs after async completions.
Methods
Section titled “Methods”nextAction()
Section titled “nextAction()”nextAction(
completed,active):DrainAction
nextAction determines whether to re-evaluate from completed and active call counts.
Parameters
Section titled “Parameters”completed
Section titled “completed”active
Section titled “active”number