Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit b70f17b

Browse files
committed
fix(pipeline): Fix cancel resolve shape.
1 parent e01fc28 commit b70f17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/iterators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export function CancelableGenerator(iterable, onFinally = async () => {}, { time
217217
if (v instanceof Error) {
218218
p.reject(v)
219219
} else {
220-
p.resolve()
220+
p.resolve({ value: undefined, done: true })
221221
}
222222
}
223223

0 commit comments

Comments
 (0)