MCPcopy
hub / github.com/aio-libs/aiohttp / stop

Method stop

examples/wssrv.py:129–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 asyncio.set_event_loop(loop)
128
129 def stop():
130 self.loop.stop()
131 os._exit(0)
132 loop.add_signal_handler(signal.SIGINT, stop)
133
134 # heartbeat

Callers 13

on_finishMethod · 0.45
runFunction · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
tearDownMethod · 0.45
closeFunction · 0.45
runMethod · 0.45
client_json.pyFile · 0.45
stdin_callbackFunction · 0.45
heartbeatMethod · 0.45
startMethod · 0.45

Calls

no outgoing calls

Tested by 6

runFunction · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
closeFunction · 0.36