Class: Series

rg-async. Series

Defines a Series class. Provides a series method that will run in series).


new Series()

Author:
Source:

Methods


<static> serie(srcArray)

Invokes in series each item in the given source Array.

Invokes in series each item in the given source Array.

Parameters:
Name Type Description
srcArray Array

Specifies the source array with promises to run in series.

Source:
Returns:

Returns a promise to be resolved containing the same structure as the srcArray but with the resolved values.

Type
Promise