MCPcopy Create free account
hub / github.com/Codesire-Deng/co_context / mapped_task

Function mapped_task

example/multi_fan_out.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17task<size_t> mapped_task(shared_task<std::string> dependency) {
18 auto result = co_await dependency;
19 std::cout << "post_task(): " << result << "\n";
20 co_return result.size();
21}
22
23template<typename T>
24task<void> reduce_task(task<T> all_task) {

Callers 1

mainFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected