refactor: elapsed into context

This commit is contained in:
cha0s 2021-04-20 02:59:45 -05:00
parent 107d6964a1
commit 953141093b

View File

@ -141,6 +141,7 @@ export default (latus) => {
}
// eslint-disable-next-line no-constant-condition
while (true) {
this.sandbox.context.elapsed = elapsed;
const {done, value} = this.sandbox.next();
if (value) {
const {value: result} = value;