wait-until ( quot: ( -- ? ) -- )


Vocabulary
raylib.live-coding.smoke-test

Inputs
quota quotation with stack effect ( -- ? )


Outputs
None

Definition


:: wait-until ( quot: ( -- ? ) -- )
nano-count 15000000000 + :> deadline
[ quot call not ] [
nano-count deadline >
[ "Live-coding smoke test timed out" throw ] when
10 milliseconds sleep
] while ; inline