We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b765c2 + 959ab8d commit a150574Copy full SHA for a150574
addon/-private/ember-environment.js
@@ -2,15 +2,15 @@ import Ember from 'ember';
2
import { defer } from 'rsvp';
3
import { Environment } from './external/environment';
4
import { assert } from '@ember/debug';
5
-import { join, next, once } from '@ember/runloop';
+import { join, next, schedule } from '@ember/runloop';
6
7
export class EmberEnvironment extends Environment {
8
assert(...args) {
9
assert(...args);
10
}
11
12
async(callback) {
13
- join(() => once(null, callback));
+ join(() => schedule('actions', callback));
14
15
16
reportUncaughtRejection(error) {
0 commit comments