jupyter_ui_poll.run_ui_poll_loop
- jupyter_ui_poll.run_ui_poll_loop(f, sleep=0.02, n=1)[source]
Repeatedly call
f()
until it returns something other thanNone
while also responding to widget events.This blocks execution of cells below in the notebook while still preserving interactivity of jupyter widgets.
- Parameters
- Return type
~T
- Returns
First non-
None
value returned fromf()