Now there is this nifty thing in coroutine Python:
awaitable asyncio.shield(aw)
Protect an awaitable object from being cancelled
https://docs.python.org/3/library/asyncio-task.html#shielding-from-cancellation
Can we bring it to a web Prolog and what would be the effect?
One simple way to bring it to a web Prolog is to control the auto yielding.
Here some results with shield, sometimes the experience of a VDOM:
Without shield/1, capitalizing of auto yield for incremental rendering: