MCPcopy Create free account
hub / github.com/OAID/Tengine / SyncSend

Method SyncSend

core/lib/notify_instance.cpp:285–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285bool NotifyBus::SyncSend(int event, EventData* data)
286{
287 EventNode* node = GetNode(event);
288
289 if(node == nullptr)
290 {
291 return false;
292 }
293
294 HandleSingleEvent(node, data);
295
296 node->sync_send_count++;
297
298 PutNode(node);
299
300 return true;
301}
302
303bool NotifyBus::SyncSend(const std::string& event_name, EventData* data)
304{

Callers 1

test_singleFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_singleFunction · 0.64