ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/README
(Generate patch)

Comparing Coro/README (file contents):
Revision 1.24 by root, Tue Jun 23 23:40:06 2009 UTC vs.
Revision 1.25 by root, Tue Jun 30 08:28:55 2009 UTC

519 Wait for the specified rouse callback (or the last one that was 519 Wait for the specified rouse callback (or the last one that was
520 created in this coro). 520 created in this coro).
521 521
522 As soon as the callback is invoked (or when the callback was invoked 522 As soon as the callback is invoked (or when the callback was invoked
523 before "rouse_wait"), it will return the arguments originally passed 523 before "rouse_wait"), it will return the arguments originally passed
524 to the rouse callback. 524 to the rouse callback. In scalar context, that means you get the
525 *last* argument, just as if "rouse_wait" had a "return ($a1, $a2,
526 $a3...)" statement at the end.
525 527
526 See the section HOW TO WAIT FOR A CALLBACK for an actual usage 528 See the section HOW TO WAIT FOR A CALLBACK for an actual usage
527 example. 529 example.
528 530
529HOW TO WAIT FOR A CALLBACK 531HOW TO WAIT FOR A CALLBACK

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines