Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Async
Interface Async
Index
Methods
all
any
apply
auto
concat
concatSeries
detect
detectSeries
dir
every
filter
filterSeries
foldl
foldr
forEach
forEachLimit
forEachSeries
inject
iterator
log
map
mapSeries
memoize
nextTick
noConflict
parallel
parallelLimit
queue
reduce
reduceRight
reject
rejectSeries
select
selectSeries
series
some
sortBy
times
timesSeries
unmemoize
until
waterfall
whilst
Methods
public
all
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
(result: boolean) => any
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
(result: boolean) => any
Returns
any
public
any
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
apply
(
fn
:
Function
, arguments
?:
Array<any>
)
Parameters
fn:
Function
arguments?:
Array<any>
optional
public
auto
(
tasks
:
any
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
any
callback?:
AsyncMultipleResultsCallback
optional
public
concat
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
concatSeries
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
detect
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
detectSeries
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
dir
(
fn
:
Function
, arguments
?:
Array<any>
)
Parameters
fn:
Function
arguments?:
Array<any>
optional
public
every
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
(result: boolean) => any
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
(result: boolean) => any
Returns
any
public
filter
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
filterSeries
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
foldl
(
arr
:
Array<T>
, memo
:
R
, iterator
:
AsyncMemoIterator
, callback
:
AsyncSingleResultCallback
)
:
any
Parameters
arr:
Array<T>
memo:
R
iterator:
AsyncMemoIterator
callback:
AsyncSingleResultCallback
Returns
any
public
foldr
(
arr
:
Array<T>
, memo
:
R
, iterator
:
AsyncMemoIterator
, callback
:
AsyncSingleResultCallback
)
:
any
Parameters
arr:
Array<T>
memo:
R
iterator:
AsyncMemoIterator
callback:
AsyncSingleResultCallback
Returns
any
public
forEach
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
public
forEachLimit
(
arr
:
Array<T>
, limit
:
number
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
Parameters
arr:
Array<T>
limit:
number
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
public
forEachSeries
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
public
inject
(
arr
:
Array<T>
, memo
:
R
, iterator
:
AsyncMemoIterator
, callback
:
AsyncSingleResultCallback
)
:
any
Parameters
arr:
Array<T>
memo:
R
iterator:
AsyncMemoIterator
callback:
AsyncSingleResultCallback
Returns
any
public
iterator
(
tasks
:
Array<Function>
)
:
Function
Parameters
tasks:
Array<Function>
Returns
Function
public
log
(
fn
:
Function
, arguments
?:
Array<any>
)
Parameters
fn:
Function
arguments?:
Array<any>
optional
public
map
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
mapSeries
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
memoize
(
fn
:
Function
, hasher
?:
Function
)
:
Function
Parameters
fn:
Function
hasher?:
Function
optional
Returns
Function
public
nextTick
(
callback
:
Function
)
Parameters
callback:
Function
public
noConflict
(
)
:
Async
Returns
Async
public
parallel
(
tasks
:
Array<T>
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
Array<T>
callback?:
AsyncMultipleResultsCallback
optional
public
parallel
(
tasks
:
T
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
T
callback?:
AsyncMultipleResultsCallback
optional
public
parallelLimit
(
tasks
:
Array<T>
, limit
:
number
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
Array<T>
limit:
number
callback?:
AsyncMultipleResultsCallback
optional
public
parallelLimit
(
tasks
:
T
, limit
:
number
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
T
limit:
number
callback?:
AsyncMultipleResultsCallback
optional
public
queue
(
worker
:
AsyncWorker
, concurrency
:
number
)
:
AsyncQueue
Parameters
worker:
AsyncWorker
concurrency:
number
Returns
AsyncQueue
public
reduce
(
arr
:
Array<T>
, memo
:
R
, iterator
:
AsyncMemoIterator
, callback
:
AsyncSingleResultCallback
)
:
any
Parameters
arr:
Array<T>
memo:
R
iterator:
AsyncMemoIterator
callback:
AsyncSingleResultCallback
Returns
any
public
reduceRight
(
arr
:
Array<T>
, memo
:
R
, iterator
:
AsyncMemoIterator
, callback
:
AsyncSingleResultCallback
)
:
any
Parameters
arr:
Array<T>
memo:
R
iterator:
AsyncMemoIterator
callback:
AsyncSingleResultCallback
Returns
any
public
reject
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
rejectSeries
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
select
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
selectSeries
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
series
(
tasks
:
Array<T>
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
Array<T>
callback?:
AsyncMultipleResultsCallback
optional
public
series
(
tasks
:
T
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
T
callback?:
AsyncMultipleResultsCallback
optional
public
some
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
sortBy
(
arr
:
Array<T>
, iterator
:
AsyncIterator
, callback
:
AsyncMultipleResultsCallback
)
:
any
Parameters
arr:
Array<T>
iterator:
AsyncIterator
callback:
AsyncMultipleResultsCallback
Returns
any
public
times
(
n
:
number
, callback
:
AsyncTimesCallback
)
Parameters
n:
number
callback:
AsyncTimesCallback
public
timesSeries
(
n
:
number
, callback
:
AsyncTimesCallback
)
Parameters
n:
number
callback:
AsyncTimesCallback
public
unmemoize
(
fn
:
Function
)
:
Function
Parameters
fn:
Function
Returns
Function
public
until
(
test
:
Function
, fn
:
Function
, callback
:
Function
)
Parameters
test:
Function
fn:
Function
callback:
Function
public
waterfall
(
tasks
:
Array<T>
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
Array<T>
callback?:
AsyncMultipleResultsCallback
optional
public
waterfall
(
tasks
:
T
, callback
?:
AsyncMultipleResultsCallback
)
Parameters
tasks:
T
callback?:
AsyncMultipleResultsCallback
optional
public
whilst
(
test
:
Function
, fn
:
Function
, callback
:
Function
)
Parameters
test:
Function
fn:
Function
callback:
Function
Globals
async