Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
major rework of async_yield to use a with statement to encapsulate ca…
…pturing the iterator for each function call. This solves an issue of having multiple functions on a Handler each doing a yield. The previous method stored the iterator at the Handler level and so got confused and errored out when resuming a nonstopped function
- Loading branch information
Jeremy Kelley
committed
Feb 25, 2011
1 parent
ab8aad3
commit e344a4c
Showing
4 changed files
with
98 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters