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

Function add

tests/python/test_event_loop.py:71–72  ·  view source on GitHub ↗
(a, b, c)

Source from the content-addressed store, hash-verified

69 f0 = loop.create_future()
70
71 def add(a, b, c):
72 f0.set_result(a + b + c)
73 pm.eval("setTimeout")(add, 0, 1, 2, 3)
74 assert 6.0 == await f0
75

Callers 2

should_js_errorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected