Skip to content

waitUntil beta ​

Function of @v12-engine/engine

ts
waitUntil: <D = any>(test: (world: World, data: D, run: number) => boolean) => WaitUntil<D>

Waits until test holds: asked at the end of every tick