fix: Ticker::then

This commit is contained in:
cha0s 2024-10-15 16:44:09 -05:00
parent 0bc8d05706
commit ff17dd883a

View File

@ -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;
}
}