Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vladmandic/sdnext
/ wrap_queued_call
Function
wrap_queued_call
modules/call_queue.py:22–27 ·
view source on GitHub ↗
(func)
Source
from the content-addressed store, hash-verified
20
21
22
def
wrap_queued_call(func):
23
def
f(*args, **kwargs):
24
with
get_lock():
25
res = func(*args, **kwargs)
26
return
res
27
return
f
28
29
30
def
wrap_gradio_gpu_call(func, extra_outputs=None, name=None):
Callers
1
load_model
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected