AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::Asio Namespace Reference

Classes

class  DeadlineTimer
 
class  IoContext
 
class  Resolver
 
class  Strand
 

Functions

template<typename T >
decltype(auto) post (IoContextBaseNamespace::IoContextBase &ioContext, T &&t)
 
template<typename T >
decltype(auto) get_io_context (T &&ioObject)
 

Function Documentation

◆ get_io_context()

template<typename T >
decltype(auto) Acore::Asio::get_io_context ( T &&  ioObject)
inline
56 {
57 return ioObject.get_executor().context();
58 }

Referenced by Metric::Unload().

◆ post()

template<typename T >
decltype(auto) Acore::Asio::post ( IoContextBaseNamespace::IoContextBase &  ioContext,
T &&  t 
)
inline
50 {
51 return boost::asio::post(ioContext, std::forward<T>(t));
52 }

Referenced by Log::write().