Skip to content

Commit 2c7d684

Browse files
committed
Fix the incorrect task.next() before the step function for the asynchronous task scheduling
1 parent 40de3e5 commit 2c7d684

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

manuscript/10-Promises.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -771,9 +771,6 @@ function run(taskDef) {
771771
// create the iterator
772772
let task = taskDef();
773773

774-
// start the task
775-
task.next();
776-
777774
// recursive function to iterate through
778775
(function step() {
779776

0 commit comments

Comments
 (0)