fix: Ticker::then
This commit is contained in:
parent
0bc8d05706
commit
ff17dd883a
|
@ -65,4 +65,10 @@ export class Ticker extends Promise {
|
|||
this.ticker(elapsed, this.resolve, this.reject);
|
||||
}
|
||||
|
||||
then(...args) {
|
||||
const promise = super.then(...args);
|
||||
promise.ticker = this.ticker;
|
||||
return promise;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user