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

Method process

test/anyflow/test_processor.cpp:359–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357TEST_F(ProcessorTest, downstream_function_run_before_current_one_return) {
358 struct F1 : public GraphProcessor {
359 virtual int process() noexcept override {
360 *x.emit() = *a;
361 f.get();
362 return 0;
363 }
364 ANYFLOW_INTERFACE(ANYFLOW_DEPEND_DATA(int32_t, a)
365 ANYFLOW_EMIT_DATA(int32_t, x))
366 ::std::promise<void> p;

Callers

nothing calls this directly

Calls 2

emitMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected