Show Table of Contents
51.17. slapi_task_set_cancel_fn()
Sets a callback to be used when a task is cancelled.
The destruction of the task itself is taken care of automatically, but a callback can be set to perform specific operations related to canceling a task. Any custom destructor function is called after the cancel function.
Syntax
void slapi_task_set_cancel_fn(Slapi_Task *task, TaskCallbackFn func)
Parameters
This function takes the following parameter:
| task | Points to the task operation which is being performed by the server. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.