MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / run

Method run

python/tutorial/MyGNode/MyEventNode.py:14–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12
13class MyEventNode(GNode):
14 def run(self):
15 print('[{0}] before event notify, {1}'.format(datetime.now(), self.getName()))
16 self.notify('event1', GEventType.SYNC)
17 print('[{0}] after event notify, {1}'.format(datetime.now(), self.getName()))
18 return CStatus()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected