Function
end Void public
Module: | @ember/runloop |
---|
Defined in packages/ember-metal/lib/run_loop.js:211
import { end } from '@ember/runloop';
- returns
- Void
Ends a RunLoop. This must be called sometime after you call run.begin()
to flush any deferred actions. 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/2.18/functions/@ember%2Frunloop/end