12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- declare namespace pLocate {
- interface Options {
-
- readonly concurrency?: number;
-
- readonly preserveOrder?: boolean;
- }
- }
- declare const pLocate: {
-
- <ValueType>(
- input: Iterable<PromiseLike<ValueType> | ValueType>,
- tester: (element: ValueType) => PromiseLike<boolean> | boolean,
- options?: pLocate.Options
- ): Promise<ValueType | undefined>;
-
-
-
-
-
-
-
- default: typeof pLocate;
- };
- export = pLocate;
|