… | |
… | |
1085 | |
1085 | |
1086 | Create and return a "rouse callback". That's a code reference that, |
1086 | Create and return a "rouse callback". That's a code reference that, |
1087 | when called, will remember a copy of its arguments and notify the owner |
1087 | when called, will remember a copy of its arguments and notify the owner |
1088 | coro of the callback. |
1088 | coro of the callback. |
1089 | |
1089 | |
|
|
1090 | When the callback is invoked multiple times, only the arguments passed on |
|
|
1091 | the first call will be stored. |
|
|
1092 | |
1090 | See the next function. |
1093 | Also see the next function. |
1091 | |
1094 | |
1092 | =item @args = rouse_wait [$cb] |
1095 | =item @args = rouse_wait [$cb] |
1093 | |
1096 | |
1094 | Wait for the specified rouse callback (or the last one that was created in |
1097 | Wait for the specified rouse callback (or the last one that was created in |
1095 | this coro). |
1098 | this coro). |