RESTinio
Loading...
Searching...
No Matches
default_strands.hpp
Go to the documentation of this file.
1/*
2 * RESTinio
3 */
4
5/*!
6 * @file
7 * @brief Typedefs for default strands.
8 * @since v.0.6.12
9 */
10
11#pragma once
12
13#include <restinio/asio_include.hpp>
14
15namespace restinio
16{
17
18/*!
19 * @brief A typedef for the default strand type.
20 *
21 * @since v.0.6.12
22 */
23using default_strand_t = asio_ns::strand< default_asio_executor >;
24
25/*!
26 * @brief A typedef for no-op strand type.
27 */
28using noop_strand_t = default_asio_executor;
29
30} /* namespace restinio */
asio_ns::strand< default_asio_executor > default_strand_t
A typedef for the default strand type.
default_asio_executor noop_strand_t
A typedef for no-op strand type.