Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _call_resolve
Function
_call_resolve
crates/wasm/Lib/asyncweb.py:143–149 ·
view source on GitHub ↗
(f, arg)
Source
from the content-addressed store, hash-verified
141
142
143
def
_call_resolve(f, arg):
144
try
:
145
ret = f(arg)
146
except
BaseException
as
e:
147
return
Promise.reject(e)
148
else
:
149
return
_resolve(ret)
150
151
152
# basically an implementation of Promise.all
Callers
1
then
Method · 0.85
Calls
3
_resolve
Function · 0.70
f
Function · 0.50
reject
Method · 0.45
Tested by
no test coverage detected