MCPcopy
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 '''
29 Close the actor, thus shutting it down
30 '''
31 self.send(ActorExit)
32
33 def start(self):
34 '''

Callers 13

gen_openerFunction · 0.45
echo_clientFunction · 0.45
example.pyFile · 0.45
example2.pyFile · 0.45
tagged.pyFile · 0.45
actor.pyFile · 0.45
worker.pyFile · 0.45
echo_clientFunction · 0.45
echo_clientFunction · 0.45
__exit__Method · 0.45
__exit__Method · 0.45
client_handlerMethod · 0.45

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected