AWS IoT Device SDK C++ v2 1.45.1
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Crt::Io::ScheduledTask Class Referencefinal

#include <EventLoopGroup.h>

Classes

class  Impl

Public Member Functions

 ScheduledTask () noexcept=default
void Cancel () noexcept

Friends

class EventLoop

Detailed Description

A handle to a task scheduled with EventLoop::Schedule. Cancel() is safe to call from any thread, and does nothing if the task already ran.

Constructor & Destructor Documentation

◆ ScheduledTask()

Aws::Crt::Io::ScheduledTask::ScheduledTask ( )
defaultnoexcept

Member Function Documentation

◆ Cancel()

void Aws::Crt::Io::ScheduledTask::Cancel ( )
noexcept

◆ EventLoop

friend class EventLoop
friend

The documentation for this class was generated from the following files: