Rest
...args: [maybeDelayMs?: number | (() => undefined | number)]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}}
Generated using TypeDoc
Reactively wait for a time. uses setTimeout and cleans up if the caller is cleaned up.
Usage in a template