Resolve with the final value

master
Kuba Orlik 4 years ago
parent e751b8fff8
commit ee3d998c08

@ -55,6 +55,7 @@ export default class AbortablePromise<T> extends Promise<T | null> {
}
step_value = await generator.next();
} while (!step_value.done);
resolve(step_value.value);
});
this.emitter = emitter;
}

Loading…
Cancel
Save