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

Function process

example/use-with-bthread/anyflow_multi_nodes.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10struct AddProcessor : public GraphProcessor {
11 virtual int process() noexcept override {
12 *c.emit() = *a + *b;
13 return 0;
14 }
15
16 ANYFLOW_INTERFACE(ANYFLOW_DEPEND_DATA(int32_t, a, 0)
17 ANYFLOW_DEPEND_DATA(int32_t, b, 1)

Callers

nothing calls this directly

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected