Function

Module: @ember/runloop
import { begin } from '@ember/runloop';
returns
Void

Begins a new RunLoop. Any deferred actions invoked after the begin will be buffered until you invoke a matching call to run.end(). This is a lower-level way to use a RunLoop instead of using run().

1
2
3
run.begin();
// code to be executed within a RunLoop
run.end();