mardi 5 février 2019

Ember: Run-loop: How to know if a job is scheduled or complete

scheduleOnce('afterRender', function x() {
    // Do something
});

Let's say I've scheduled a job (function x) like this and go to some other function (an event callback). Inside that, how do I know the above job's status (eg., scheduled, completed)?




Aucun commentaire:

Enregistrer un commentaire