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

Method process

example/use-anyflow-with-brpc/parse.cpp:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6class Parse : public ::babylon::anyflow::GraphProcessor {
7 virtual int process() noexcept override {
8 user_id = request->user_id();
9 // Use ref to make it zero copy
10 query.emit().ref(request->query());
11 return 0;
12 }
13
14 // clang-format off
15 ANYFLOW_INTERFACE(

Callers

nothing calls this directly

Calls 2

refMethod · 0.80
emitMethod · 0.80

Tested by

no test coverage detected