You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now a call to instance.isCompleted() inside of a 'stop' handler would return false if invoked through instance.complete(). Should be marked as completed prior to event dispatch
const loop = new Animitter();
// will log out false
loop.on('stop', () => console.log(loop.isCompleted()));
loop.start();
// ...
loop.complete();