Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ stop
Method
stop
example_code/item_078.py:129–133 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
127
self.loop.stop()
128
129
async
def
stop(self):
130
coro = self.real_stop()
131
future = asyncio.run_coroutine_threadsafe(
132
coro, self.loop)
133
await asyncio.wrap_future(future)
134
135
136
print(
"Example 7"
)
Callers
2
__aexit__
Method · 0.95
real_stop
Method · 0.80
Calls
1
real_stop
Method · 0.95
Tested by
no test coverage detected