Methods
Static find
- find<T>(iterator: AsyncIterator<T>, predicate: function): Promise<T>
-
Type parameters
Parameters
-
-
predicate: function
-
-
Parameters
Returns boolean
Returns Promise<T>
Static getFirst
-
Type parameters
Parameters
Returns Promise<T>
Static toArray
-
Type parameters
Parameters
Returns Promise<T[]>
Utility class with functions to operate on AsyncIterator instances