dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
dfx::Utils::CallWithToken Concept Reference

Concept for a task that can be executed with a stop token. More...

#include <dfx-utilities/Thread.hpp>

Concept definition

template<typename T>
concept dfx::Utils::CallWithToken = requires(T t, std::stop_token st)
{ t.exec(st); }
Concept for a task that can be executed with a stop token.
Definition Thread.hpp:34

Detailed Description

Concept for a task that can be executed with a stop token.

Requires the type to implement an exec(std::stop_token) method.