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

Specifies the interface for a stop source that produces tokens from a boost::asio::yield_context. More...

#include <Concepts.hpp>

Concept definition

template<typename T>
concept SomeYieldStopSource = requires(T v, boost::asio::yield_context yield) {
{ v[yield] } -> SomeStopToken;
}
Specifies the interface for a stop token.
Definition Concepts.hpp:135
Specifies the interface for a stop source that produces tokens from a boost::asio::yield_context.
Definition Concepts.hpp:146

Detailed Description

Specifies the interface for a stop source that produces tokens from a boost::asio::yield_context.

Template Parameters
TThe type to check