Iros
 
Loading...
Searching...
No Matches
di::concepts::AsyncResource Concept Reference

Checks that a type model AsyncResource. More...

#include <di/execution/interface/run.h>

Concept definition

template<typename T>
concept di::concepts::AsyncResource = requires(T& resource) {
{ execution::run(resource) };
}
Checks that a type model AsyncResource.
Definition run.h:50
constexpr auto run
Obtain access to an async resource.
Definition run.h:40

Detailed Description

Checks that a type model AsyncResource.

Template Parameters
TThe type to check.
See also
execution::run