how to 'schedule' the created task? I would like to achieve something illustrated below
auto process_line = [](...){};
for(;;) {
line = read_line();
std::async( process_line);
// how to spawn it?
// auto t = create_task()
}
sorry I have not tried create_task() after your response, though I do know it exists.