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

Method process

test/anyflow/test_channel.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62struct MutableChannelInputProcessor : public GraphProcessor {
63 virtual int process() noexcept override {
64 enter_promise.set_value(::std::move(a));
65 leave_future.get();
66 return 0;
67 }
68
69 static ::std::promise<MutableChannelConsumer<::std::string>> enter_promise;
70 static ::std::future<MutableChannelConsumer<::std::string>> enter_future;

Callers

nothing calls this directly

Calls 2

set_valueMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected