Skip to content

Commit

Permalink
always resume coroutines asynchronously
Browse files Browse the repository at this point in the history
closes #31.
  • Loading branch information
bergus committed Jul 29, 2016
1 parent 571bf3a commit 09b0566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coroutine.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Coroutine extends Action {
return this.promise._resolve(result.value)
}

this.resolve(result.value)._runAction(this)
this.resolve(result.value)._when(this)
}

fulfilled (ref) {
Expand Down

0 comments on commit 09b0566

Please sign in to comment.