Skip to content
Snippets Groups Projects
Commit eec49cf1 authored by Florian Fischer's avatar Florian Fischer
Browse files

introduce simple CallbackHandle

A CallbackHandle is used to cancel a previosuly submitted future with
set callback without keeping the future object around.

A CallbackHandle remembers the callback pointer and the IoContext
where the callback was submitted to submit a cancel operation for the
pointer on the same IoContext.

A CallbackHandle can be obtained by calling
Future::submitAndGetCallbackHandle().
parent 4d90dfc0
No related branches found
No related tags found
No related merge requests found
Pipeline #78247 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment