MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / fn1

Function fn1

tests/python/test_event_loop.py:222–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220 return n + 100
221
222 def fn1():
223 return pm.eval("async x=>x")(fn0)
224 fn2 = await pm.eval("async (fn1) => { const fn0 = await fn1(); return Promise.resolve(x=>fn0(x)) }")(fn1)
225 assert 101.2 == fn2(1.2)
226 fn3 = await pm.eval("""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected