diff --git a/README.md b/README.md index 1d72496..3e6552b 100644 --- a/README.md +++ b/README.md @@ -146,18 +146,4 @@ export declare function once( emitter: NodeJS.EventEmitter, event: string, ): Promise; - -/** - * Eagerly resolve to false as soon as any of the promises has resolved to a value for which the - * predicate is falsey, or resolve to true when all of the promises have resolved to a value for which - * the predicate is thruthy, or rejects with the reason of the first promise rejection - * - * @param promises Promises whose resolved values will be tested by the predicate - * @param predicate Predicate to apply - * @returns Promise indicating whether the predicate holds for all resolved promise values - */ -export declare function every( - promises: Array>, - predicate: (value: T) => boolean, -): Promise; ``` diff --git a/src/utils.spec.ts b/src/utils.spec.ts index 8a89117..e7607eb 100644 --- a/src/utils.spec.ts +++ b/src/utils.spec.ts @@ -1,7 +1,7 @@ import test from "ava"; import { expect } from "chai"; import { EventEmitter } from "events"; -import { once, sleep, delay, every } from "./utils"; +import { once, sleep, delay } from "./utils"; const TimingErrorMarginMs = 50;