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

@types/async

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/async - npm Package Compare versions

Comparing version 3.2.9 to 3.2.10

47

async/index.d.ts

@@ -12,2 +12,3 @@ // Type definitions for Async 3.2

// Tümay Çeber <https://github.com/brendtumi>
// Andrew Pensinger <https://github.com/apnsngr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -320,10 +321,40 @@ // TypeScript Version: 2.3

export function parallelLimit<T, R, E = Error>(tasks: Array<AsyncFunction<T, E>> | Dictionary<AsyncFunction<T, E>>, limit: number): Promise<R>;
export function whilst<E = Error>(test: (cb: (err: any, truth: boolean) => boolean) => boolean, fn: AsyncVoidFunction<E>, callback: ErrorCallback<E>): void;
export function whilst<R, E = Error>(test: (cb: (err: any, truth: boolean) => boolean) => boolean, fn: AsyncVoidFunction<E>): Promise<R>;
export function doWhilst<T, E = Error>(fn: AsyncFunctionEx<T, E>, test: (...results: T[]) => boolean, callback: ErrorCallback<E>): void;
export function doWhilst<T, R, E = Error>(fn: AsyncFunctionEx<T, E>, test: (...results: T[]) => boolean): Promise<R>;
export function until<E = Error>(test: () => boolean, fn: AsyncVoidFunction<E>, callback: ErrorCallback<E>): void;
export function until<R, E = Error>(test: () => boolean, fn: AsyncVoidFunction<E>): Promise<R>;
export function doUntil<T, E = Error>(fn: AsyncFunctionEx<T, E>, test: (...results: T[]) => boolean, callback: ErrorCallback<E>): void;
export function doUntil<T, R, E = Error>(fn: AsyncFunctionEx<T, E>, test: (...results: T[]) => boolean): Promise<R>;
export function whilst<T, E = Error>(
test: (cb: AsyncBooleanResultCallback) => void,
fn: AsyncFunctionEx<T, E>,
callback: AsyncFunctionEx<T, E>
): void;
export function whilst<T, R, E = Error>(
test: (cb: AsyncBooleanResultCallback) => void,
fn: AsyncFunctionEx<T, E>
): Promise<R>;
export function doWhilst<T, E = Error>(
fn: AsyncFunctionEx<T, E>,
test: (/* ...results: T[], */ cb: AsyncBooleanResultCallback) => void,
callback: AsyncFunctionEx<T, E>
): void;
export function doWhilst<T, R, E = Error>(
fn: AsyncFunctionEx<T, E>,
test: (/* ...results: T[], */ cb: AsyncBooleanResultCallback) => void
): Promise<R>;
export function until<T, E = Error>(
test: (cb: AsyncBooleanResultCallback) => void,
fn: AsyncFunctionEx<T, E>,
callback: AsyncFunctionEx<T, E>
): void;
export function until<T, R, E = Error>(
test: (cb: AsyncBooleanResultCallback) => void,
fn: AsyncFunctionEx<T, E>
): Promise<R>;
export function doUntil<T, E = Error>(
fn: AsyncFunctionEx<T, E>,
test: (/* ...results: T[], */ cb: AsyncBooleanResultCallback) => void,
callback: AsyncFunctionEx<T, E>
): void;
export function doUntil<T, R, E = Error>(
fn: AsyncFunctionEx<T, E>,
test: (/* ...results: T[], */ cb: AsyncBooleanResultCallback) => void
): Promise<R>;
export function during<E = Error>(test: (testCallback: AsyncBooleanResultCallback<E>) => void, fn: AsyncVoidFunction<E>, callback: ErrorCallback<E>): void;

@@ -330,0 +361,0 @@ export function doDuring<E = Error>(fn: AsyncVoidFunction<E>, test: (testCallback: AsyncBooleanResultCallback<E>) => void, callback: ErrorCallback<E>): void;

9

async/package.json
{
"name": "@types/async",
"version": "3.2.9",
"version": "3.2.10",
"description": "TypeScript definitions for Async",

@@ -52,2 +52,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async",

"githubUsername": "brendtumi"
},
{
"name": "Andrew Pensinger",
"url": "https://github.com/apnsngr",
"githubUsername": "apnsngr"
}

@@ -64,4 +69,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "3c13f25d612c145c9116a228ba5391d96870617945c1981226a0774dc0a98be9",
"typesPublisherContentHash": "59988f58dbf614557dca35731704e62c7ac12321c056e72f522cfca75059a6c9",
"typeScriptVersion": "3.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 25 Oct 2021 23:31:43 GMT
* Last updated: Mon, 15 Nov 2021 17:01:34 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: `async`

# Credits
These definitions were written by [Boris Yankov](https://github.com/borisyankov), [Arseniy Maximov](https://github.com/kern0), [Joe Herman](https://github.com/Penryn), [Angus Fenying](https://github.com/fenying), [Pascal Martin](https://github.com/pascalmartin), [Dmitri Trofimov](https://github.com/Dmitri1337), [Etienne Rossignon](https://github.com/erossignon), [Lifeng Zhu](https://github.com/Juliiii), and [Tümay Çeber](https://github.com/brendtumi).
These definitions were written by [Boris Yankov](https://github.com/borisyankov), [Arseniy Maximov](https://github.com/kern0), [Joe Herman](https://github.com/Penryn), [Angus Fenying](https://github.com/fenying), [Pascal Martin](https://github.com/pascalmartin), [Dmitri Trofimov](https://github.com/Dmitri1337), [Etienne Rossignon](https://github.com/erossignon), [Lifeng Zhu](https://github.com/Juliiii), [Tümay Çeber](https://github.com/brendtumi), and [Andrew Pensinger](https://github.com/apnsngr).
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