Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/webpy/webpy
/ next_hook
Function
next_hook
web/application.py:708–714 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
706
707
def
wrap(result):
708
def
next_hook():
709
try
:
710
return
next(result)
711
except
:
712
# call the hook at the and of iterator
713
h()
714
raise
715
716
result = iter(result)
717
while
True:
Callers
1
wrap
Function · 0.85
Calls
1
next
Function · 0.85
Tested by
no test coverage detected