Function
begin Void public
| Module: | @ember/runloop |
|---|
Defined in packages/@ember/runloop/index.js:244
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 end(). This is a lower-level way to use a RunLoop instead of using run().
import { begin, end } from '@ember/runloop';
begin();
// code to be executed within a RunLoop
end();
© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/3.25/functions/@ember%2Frunloop/begin