@types/node-array-ext
TypeScript icon, indicating that this package has built-in type declarations

1.0.33 • Public • Published

Installation

npm install --save @types/node-array-ext

Summary

This package contains type definitions for node-array-ext (https://github.com/Beng89/node-array-ext).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-array-ext.

index.d.ts

/**
 * Processes each of the elements in the array and triggers a callback once every element has been processed.
 *  - note that the elements are called in order but are not guaranteed to finish in order.
 */
export declare function asyncEach<T>(
    array: T[],
    each: (i: number, element: T, done: (err?: Error) => void) => void,
    finish: (err?: Error) => void,
): void;
/**
 * Processes each of the elements in the array and triggers a callback once every element has been processed.
 *  - note that the elements are called in order and are guaranteed to finish in order.
 */
export declare function awaitEach<T>(
    array: T[],
    each: (i: number, element: T, done: (err?: Error) => void) => void,
    finish: (err?: Error) => void,
): void;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: none

Credits

These definitions were written by Ben Goltz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/node-array-ext

Weekly Downloads

1

Version

1.0.33

License

MIT

Unpacked Size

4.08 kB

Total Files

5

Last publish

Collaborators

  • types