asynciterator
Advanced tools
Comparing version 3.2.1 to 3.3.0
@@ -8,3 +8,3 @@ /** | ||
import type { Task, TaskScheduler } from './taskscheduler'; | ||
/** Schedules the given ask for asynchronous execution. */ | ||
/** Schedules the given task for asynchronous execution. */ | ||
export declare function scheduleTask(task: Task): void; | ||
@@ -207,2 +207,10 @@ /** Returns the asynchronous task scheduler. */ | ||
/** | ||
Consume all remaining items of the iterator into an array that will be returned asynchronously. | ||
@param {object} [options] Settings for array creation | ||
@param {integer} [options.limit] The maximum number of items to place in the array. | ||
*/ | ||
toArray(options?: { | ||
limit?: number; | ||
}): Promise<T[]>; | ||
/** | ||
Retrieves the property with the given name from the iterator. | ||
@@ -209,0 +217,0 @@ If no callback is passed, it returns the value of the property |
{ | ||
"name": "asynciterator", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"description": "An asynchronous iterator library for advanced object pipelines.", | ||
@@ -5,0 +5,0 @@ "author": "Ruben Verborgh <ruben@verborgh.org>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182052
4191