Hi Michael,
When you execute an Oni expression from JavaScript using Eval(), the
Eval() call returns immediately, while the Oni expression executes in
the background. That is why your loop spins with high CPU and you get
the browser complaining.
Because event handlers aren't aware of Oni, you cannot really use Oni
to achieve a delayed return; events are 'external signals' as far as
Oni is concerned.
Regards,
Alex