Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::async::SomeYieldStopSource Concept Reference

Specifies the interface for a stop token that internally uses a boost::asio::yield_context. More...

#include <Concepts.hpp>

Concept definition

template<typename T>
concept util::async::SomeYieldStopSource = requires(T v, boost::asio::yield_context yield) {
{ v[yield] } -> SomeStopToken;
}
Specifies the interface for a stop token.
Definition Concepts.hpp:102
Specifies the interface for a stop token that internally uses a boost::asio::yield_context.
Definition Concepts.hpp:110

Detailed Description

Specifies the interface for a stop token that internally uses a boost::asio::yield_context.