删减无关内容
This commit is contained in:
@@ -10,15 +10,15 @@ bool Data_Feed::registered() {
|
||||
return false;
|
||||
}
|
||||
void Data_Feed_UDP_Server::handle_in_loop() {
|
||||
ucoro::sync_await(handle_in_loop_coro());
|
||||
psco::sync_await(handle_in_loop_coro());
|
||||
}
|
||||
|
||||
ucoro::awaitable<void> Data_Feed_UDP_Server::handle_in_loop_coro() {
|
||||
psco::awaitable<void> Data_Feed_UDP_Server::handle_in_loop_coro() {
|
||||
co_await svr.tick_coro();
|
||||
co_return;
|
||||
}
|
||||
|
||||
ucoro::awaitable<void> Data_Feed_UDP_Server::send_coro(const std::string& data) {
|
||||
psco::awaitable<void> Data_Feed_UDP_Server::send_coro(const std::string& data) {
|
||||
co_await svr.write_to_all_clients_coro(data);
|
||||
co_return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user