Iros
Loading...
Searching...
No Matches
execution_context.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/execution/concepts/scheduler.h
"
4
5
namespace
di::concepts
{
6
template
<
typename
T>
7
concept
ExecutionContext
=
requires
(T& context) {
8
{ context.get_scheduler() } ->
Scheduler
;
9
{ context.finish() } ->
LanguageVoid
;
10
{ context.run() } ->
LanguageVoid
;
11
};
12
}
di::concepts::ExecutionContext
Definition
execution_context.h:7
di::concepts::LanguageVoid
Definition
core.h:128
di::concepts::Scheduler
Definition
scheduler.h:21
scheduler.h
di::concepts
Definition
any_storable.h:9
libs
di
include
di
execution
concepts
execution_context.h
Generated by
1.13.0