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
Go to Latest
function waitFor
import { waitFor } from "https://deno.land/x/rambda@v8.6.0/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>