… | |
… | |
1045 | =item cancel $req |
1045 | =item cancel $req |
1046 | |
1046 | |
1047 | Cancels the request, if possible. Has the effect of skipping execution |
1047 | Cancels the request, if possible. Has the effect of skipping execution |
1048 | when entering the B<execute> state and skipping calling the callback when |
1048 | when entering the B<execute> state and skipping calling the callback when |
1049 | entering the the B<result> state, but will leave the request otherwise |
1049 | entering the the B<result> state, but will leave the request otherwise |
1050 | untouched. That means that requests that currently execute will not be |
1050 | untouched (with the exception of readdir). That means that requests that |
1051 | stopped and resources held by the request will not be freed prematurely. |
1051 | currently execute will not be stopped and resources held by the request |
|
|
1052 | will not be freed prematurely. |
1052 | |
1053 | |
1053 | =item cb $req $callback->(...) |
1054 | =item cb $req $callback->(...) |
1054 | |
1055 | |
1055 | Replace (or simply set) the callback registered to the request. |
1056 | Replace (or simply set) the callback registered to the request. |
1056 | |
1057 | |