Function

Module: @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 end(). This is a lower-level way to use a RunLoop instead of using run().

1
2
3
4
5
import { begin, end } from '@ember/runloop';

begin();
// code to be executed within a RunLoop
end();