UNPKG

edgerender-yatl

Version:

Yet Another Template Language

5 lines (4 loc) 405 B
export declare function async_map<A, R>(items: A[], func: (i: A) => Promise<R>): Promise<R[]>; export declare function async_reduce<A, B>(items: B[], func: (a: A, b: B) => Promise<A>, value: A): Promise<A>; export declare function async_every<A>(items: A[], func: (i: A) => Promise<any>): Promise<boolean>; export declare function async_any<A>(items: A[], func: (i: A) => Promise<any>): Promise<boolean>;