Iros
 
Loading...
Searching...
No Matches
di::execution::Scope Concept Reference

A type which models an async scope. More...

#include <di/execution/scope/scope.h>

Concept definition

template<typename T>
concept di::execution::Scope = requires(T& scope) {
request_stop(scope);
nest(scope, stopped);
spawn(scope, stopped);
}
A type which models an async scope.
Definition scope.h:180
constexpr auto stopped
Definition just.h:91
constexpr auto spawn
Spawn a sender inside a scope.
Definition scope.h:129
constexpr auto request_stop
Request that a scope stop.
Definition scope.h:48
constexpr auto spawn_future
Spawn a sender inside a scope, and return a future to the result.
Definition scope.h:169
constexpr auto nest
Nest a sender inside a scope.
Definition scope.h:84

Detailed Description

A type which models an async scope.

Template Parameters
TThe type to check.
See also
request_stop
nest
spawn
spawn_future