MCPcopy Create free account
hub / github.com/baidu/babylon / process

Method process

test/anyflow/test_channel.cpp:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40struct ChannelInputProcessor : public GraphProcessor {
41 virtual int process() noexcept override {
42 enter_promise.set_value(::std::move(a));
43 leave_future.get();
44 return 0;
45 }
46
47 static ::std::promise<ChannelConsumer<::std::string>> enter_promise;
48 static ::std::future<ChannelConsumer<::std::string>> enter_future;

Callers

nothing calls this directly

Calls 2

set_valueMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected