Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asynciterator

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asynciterator - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

10

dist/asynciterator.d.ts

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc