diff --git a/src/index.ts b/src/index.ts index 35df517..9a0c512 100644 --- a/src/index.ts +++ b/src/index.ts @@ -55,6 +55,7 @@ export default class AbortablePromise extends Promise { } step_value = await generator.next(); } while (!step_value.done); + resolve(step_value.value); }); this.emitter = emitter; }