MCPcopy
hub / github.com/dabeaz/python-cookbook / send

Method send

src/12/defining_an_actor_task/actor.py:12–16  ·  view source on GitHub ↗

Send a message to the actor

(self, msg)

Source from the content-addressed store, hash-verified

10 self._mailbox = Queue()
11
12 def send(self, msg):
13 '''
14 Send a message to the actor
15 '''
16 self._mailbox.put(msg)
17
18 def recv(self):
19 '''

Callers 15

closeMethod · 0.95
visitMethod · 0.45
visitMethod · 0.45
example2.pyFile · 0.45
example1.pyFile · 0.45
wrapperFunction · 0.45
tagged.pyFile · 0.45
actor.pyFile · 0.45
submitMethod · 0.45
testFunction · 0.45
testFunction · 0.45
putMethod · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected