Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pathwaycom/pathway
/ decrement
Function
decrement
python/pathway/tests/test_persistence.py:901–904 ·
view source on GitHub ↗
(a: int)
Source
from the content-addressed store, hash-verified
899
900
@pw.udf(executor=pw.udfs.fully_async_executor())
901
async
def
decrement(a: int) -> int:
902
while
not can_pass[a]:
903
await asyncio.sleep(1)
904
return
a - 1
905
906
else
:
907
Callers
1
wait_result
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected