MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / notifyNewStateEvents

Method notifyNewStateEvents

native/model/Graph.cpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62 void Graph::notifyNewStateEvents(const StatePtr &node) {
63 for (const auto &listener: this->_listeners) {
64 listener->onAddNode(node);
65 }
66 }
67
68 void Graph::addListener(const GraphListenerPtr &listener) {
69 this->_listeners.emplace_back(listener);

Callers 1

addStateMethod · 0.95

Calls 1

onAddNodeMethod · 0.80

Tested by

no test coverage detected