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

Specifies the interface for a stop token. More...

#include <Concepts.hpp>

Concept definition

template<typename T>
concept util::async::SomeStopToken = requires(T v) {
{ v.isStopRequested() } -> std::same_as<bool>;
}
Specifies the interface for a stop token.
Definition Concepts.hpp:102

Detailed Description

Specifies the interface for a stop token.