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

Method run

python/tutorial/MyGNode/MyNode2.py:19–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 return CStatus()
18
19 def run(self):
20 print("[{0}] {1}, enter MyNode2 run function. Sleep for 2 second ... ".format(datetime.now(), self.getName()))
21 time.sleep(2)
22 return CStatus()
23
24 def destroy(self):
25 print("[DESTROY] [{0}], enter MyNode2 destroy function.".format(self.getName()))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected