MCPcopy Index your code
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / get_async_loop

Function get_async_loop

pysssss.py:176–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174
175
176def get_async_loop():
177 loop = None
178 try:
179 loop = asyncio.get_event_loop()
180 except:
181 loop = asyncio.new_event_loop()
182 asyncio.set_event_loop(loop)
183 return loop
184
185
186def get_http_session():

Callers 1

get_http_sessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected