MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / run

Method run

erpc_python/erpc/simple_server.py:20–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 self._run = True
19
20 def run(self):
21 self._run = True
22 while self._run:
23 try:
24 self._receive_request()
25 except RequestError as e:
26 print("Error while processing request: %s" % (e))
27
28 def stop(self):
29 self._run = False

Callers

nothing calls this directly

Calls 1

_receive_requestMethod · 0.95

Tested by

no test coverage detected