… | |
… | |
1133 | =item $grp->cancel_subs |
1133 | =item $grp->cancel_subs |
1134 | |
1134 | |
1135 | Cancel all subrequests and clears any feeder, but not the group request |
1135 | Cancel all subrequests and clears any feeder, but not the group request |
1136 | itself. Useful when you queued a lot of events but got a result early. |
1136 | itself. Useful when you queued a lot of events but got a result early. |
1137 | |
1137 | |
|
|
1138 | The group request will finish normally (you cannot add requests to the |
|
|
1139 | group). |
|
|
1140 | |
1138 | =item $grp->result (...) |
1141 | =item $grp->result (...) |
1139 | |
1142 | |
1140 | Set the result value(s) that will be passed to the group callback when all |
1143 | Set the result value(s) that will be passed to the group callback when all |
1141 | subrequests have finished and set the groups errno to the current value |
1144 | subrequests have finished and set the groups errno to the current value |
1142 | of errno (just like calling C<errno> without an error number). By default, |
1145 | of errno (just like calling C<errno> without an error number). By default, |