/workspaces/astro/sol3-sdk/cpp/sol3/asio/strand.h Source File

Space-ng SDK: /workspaces/astro/sol3-sdk/cpp/sol3/asio/strand.h Source File
Space-ng SDK
strand.h
Go to the documentation of this file.
1 // Copyright (c) Space-ng, inc. All rights reserved.
2 #pragma once
3 
4 #include <boost/asio/io_context.hpp>
5 #include <boost/asio/strand.hpp>
6 
7 namespace sol3::asio {
8 using Strand = boost::asio::strand<boost::asio::io_context::executor_type>;
9 } // namespace sol3::asio
Support safely capturing this in ASIO completion handlers.
Definition: handlers.h:24
boost::asio::strand< boost::asio::io_context::executor_type > Strand
Definition: strand.h:8