task_cancellation - Melnytskyi/fast_task GitHub Wiki

Declaration

    class task_cancellation {
    public:
        task_cancellation();
        ~task_cancellation() noexcept(false);
        bool _in_landing();
    };

Description

This exception is used to cancel a task and is thrown when the task is canceled. Catching this exception will terminate the program. It can only be rethrown.