join (target, method, args*) Objectpublic
Defined in packages/ember-metal/lib/run_loop.js:82
If no run-loop is present, it creates a new one. If a run loop is present it will queue itself to run on the existing run-loops action queue. Please note: This is not for normal usage, and should be used sparingly. If invoked when not within a run loop: run.join(function() {
// creates a new run-loop
});
Alternatively, if called within an existing run loop: run(function() {
// creates a new run