reactlynx-testing-library / waitFor

Function: waitFor()

function waitFor<T>(callback: () => T | Promise<T>, options?: waitForOptions): Promise<T>

Type Parameters

Type Parameter
T

Parameters

Parameter Type
callback () => T | Promise<T>
options? waitForOptions

Returns

Promise<T>

Defined in

index.d.ts:1473

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.