Function

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

Ends a RunLoop. This must be called sometime after you call begin() to flush any deferred actions. 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();