Skip to content

task_cancellation

Danyil Melnytskyi edited this page Jun 10, 2024 · 1 revision

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.

Clone this wiki locally