add Chapter18
This commit is contained in:
14
Chapter18/cib/libs/flow/run.hpp
Normal file
14
Chapter18/cib/libs/flow/run.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <cib/built.hpp>
|
||||
#include <flow/common.hpp>
|
||||
|
||||
namespace flow {
|
||||
/**
|
||||
* Run the flow given by 'Tag'.
|
||||
*
|
||||
* @tparam Tag Type of the flow to be ran. This is the name of the flow::builder
|
||||
* used to declare and build the flow.
|
||||
*/
|
||||
template <typename Tag> FunctionPtr &run = cib::service<Tag>;
|
||||
} // namespace flow
|
||||
Reference in New Issue
Block a user