Reactively wait for a time. uses setTimeout and cleans up if the caller is cleaned up.
Usage in a template
{{#let (WaitUntil 500) as |delayFinished|}} {{#if delayFinished}} text displayed after 500ms {{/if}} {{/let}} Copy
{{#let (WaitUntil 500) as |delayFinished|}} {{#if delayFinished}} text displayed after 500ms {{/if}} {{/let}}
Rest
Reactively wait for a time. uses setTimeout and cleans up if the caller is cleaned up.
Usage in a template