8#include <aws/io/event_loop.h>
40 explicit operator bool() const noexcept {
return m_loop !=
nullptr; }
46 void Schedule(std::function<
void(
TaskStatus)> &&task, std::chrono::nanoseconds run_in)
noexcept;
49 explicit EventLoop(aws_event_loop *loop)
noexcept;
51 aws_event_loop *m_loop;
97 operator
bool() const;
102 int LastError() const;
105 aws_event_loop_group *GetUnderlyingHandle() noexcept;
108 aws_event_loop_group *m_eventLoopGroup;
#define AWS_CRT_CPP_API
Definition Exports.h:36
Definition Bootstrap.h:35
Definition EventLoopGroup.h:73
EventLoopGroup(const EventLoopGroup &)=delete
Definition EventLoopGroup.h:35
TaskStatus
Definition EventLoopGroup.h:24
aws_allocator Allocator
Definition Allocator.h:14
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition Allocator.cpp:24
Definition Allocator.h:11