MCPcopy Create free account
hub / github.com/ActiveState/code / processor

Method processor

recipes/Python/496872_zservicepy/recipe-496872.py:114–123  ·  view source on GitHub ↗

Processes clients\' requests in sequential order.

(self)

Source from the content-addressed store, hash-verified

112 self.send(sock, item[4])
113
114 def processor(self):
115 'Processes clients\' requests in sequential order.'
116 while True:
117 item = self.queue.get()
118 name, args, kwargs, sync = item
119 try:
120 item.append(self.services[name](*args, **kwargs))
121 except:
122 item.append(None)
123 sync.sync()
124
125################################################################################
126

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
appendMethod · 0.45
syncMethod · 0.45

Tested by

no test coverage detected