GitHub Viewer
// The program demonstrates how to create asynchronous task
// from a running subflow.
#include
int main() {
tf::Taskflow taskflow("Subflow Async");
tf::Executor executor;
std::atomic counter{0};
taskflow.emplace([&](tf::Runtime& rt){
for(int i=0; i