UNPKG
node-filter-async
Version:
latest (3.0.0)
3.0.0
2.0.0
1.1.4
1.1.3
1.1.2
1.1.1
1.0.1
1.0.0
0.0.4
0.0.3
0.0.2
0.0.1
Filter array elements with Promises
github.com/mgenware/node-filter-async
mgenware/node-filter-async
node-filter-async
/
dist
/
main.d.ts
2 lines
(1 loc)
•
132 B
TypeScript
View Raw
1
2
export
default
function
filterAsync<T>(
array
:
readonly
T[],
callback
:
(
value
: T,
index
:
number
) =>
Promise
<
boolean
>):
Promise
<T[]>;