MCPcopy Create free account
hub / github.com/3rdparty/libprocess / consume

Method consume

src/tests/benchmarks.cpp:408–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406{
407protected:
408 void consume(MessageEvent&& event) override
409 {
410 if (event.message.name == "ping") {
411 send(event.message.from, "pong");
412 }
413 }
414};
415
416

Callers

nothing calls this directly

Calls 1

sendFunction · 0.50

Tested by

no test coverage detected