File async-executor.h
FileList > include > qqmusic > utils > async-executor.h
Go to the source code of this file
提供了一个默认的简单协程调度器, 以及同步执行异步函数的方法. More...
#include <boost/asio/co_spawn.hpp>
#include <boost/asio/detached.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/asio/use_future.hpp>
#include <exception>
#include <qqmusic/result.h>
#include <stdexcept>
#include <thread>
#include <utility>
Namespaces
Type | Name |
---|---|
namespace | qqmusic |
namespace | utils 简易Cookie管理器, 负责cookie的序列化和反序列化, 依赖 nlohmann::json 实现 目前不支持路径嵌套和Expires 和HttpOnly 这样的特性 |
Classes
Type | Name |
---|---|
class | AsyncExecutor 全局调度器类 |
Detailed Description
-------------------------------qqmusic/utils/async-executor.h------------------------------
Date:
2025-3-21
The documentation for this class was generated from the following file include/qqmusic/utils/async-executor.h