Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
''
&
#x27;
14
Send a message to the actor
15
''
&
#x27;
16
self._mailbox.put(msg)
17
18
def
recv(self):
19
''
&
#x27;
Callers
15
close
Method · 0.95
visit
Method · 0.45
visit
Method · 0.45
example2.py
File · 0.45
example1.py
File · 0.45
wrapper
Function · 0.45
tagged.py
File · 0.45
actor.py
File · 0.45
submit
Method · 0.45
test
Function · 0.45
test
Function · 0.45
put
Method · 0.45
Calls
1
put
Method · 0.45
Tested by
no test coverage detected