Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dabeaz/python-cookbook
/ close
Method
close
src/12/defining_an_actor_task/actor.py:27–31 ·
view source on GitHub ↗
Close the actor, thus shutting it down
(self)
Source
from the content-addressed store, hash-verified
25
return
msg
26
27
def
close(self):
28
''
&
#x27;
29
Close the actor, thus shutting it down
30
''
&
#x27;
31
self.send(ActorExit)
32
33
def
start(self):
34
''
&
#x27;
Callers
13
gen_opener
Function · 0.45
echo_client
Function · 0.45
example.py
File · 0.45
example2.py
File · 0.45
tagged.py
File · 0.45
actor.py
File · 0.45
worker.py
File · 0.45
echo_client
Function · 0.45
echo_client
Function · 0.45
__exit__
Method · 0.45
__exit__
Method · 0.45
client_handler
Method · 0.45
Calls
1
send
Method · 0.95
Tested by
no test coverage detected