Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>waitFor

Faster and smaller alternative to Ramda
Latest
function waitFor
import { waitFor } from "https://deno.land/x/rambda@9.4.1/files/index.d.ts";

Parameters

waitForTrueCondition: () => boolean
howLong: number
optional
loops: number

Returns

() => Promise<boolean>

Parameters

waitForTrueCondition: () => Promise<boolean>
howLong: number
optional
loops: number

Returns

() => Promise<boolean>

Parameters

waitForTrueCondition: (input: T) => Promise<boolean>
howLong: number
optional
loops: number

Returns

(input: T) => Promise<boolean>

Parameters

waitForTrueCondition: (input: T) => boolean
howLong: number
optional
loops: number

Returns

(input: T) => Promise<boolean>