MCPcopy
hub / github.com/AirtestProject/Poco / invoke

Method invoke

poco/drivers/unity3d/unity3d_poco.py:87–95  ·  view source on GitHub ↗
(self, listener, **kwargs)

Source from the content-addressed store, hash-verified

85 self.agent.rpc.call("SendMessage", message)
86
87 def invoke(self, listener, **kwargs):
88 callback = self.agent.rpc.call("Invoke", listener=listener, data=kwargs)
89
90 value, error = callback.wait()
91
92 if error is not None:
93 raise Exception(error)
94
95 return value

Callers

nothing calls this directly

Calls 2

callMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected