You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently looking for a library that safely executes code and where we can limit the amount of statements executed.
I do see the shouldInterruptAfterDeadline function but there are no others.
Is there anything comming for this or should we look into other libraries?
Thanks in advance for responding :)
The text was updated successfully, but these errors were encountered:
Documented in quickjs source code, the interrupt handler is called every 10k cycles (which rougly translated to this amount of statements). It's not perfectly granular, but suitable for sandboxing use cases. The example would interrupt after rougly ~10 million statements.
Hi there,
We are currently looking for a library that safely executes code and where we can limit the amount of statements executed.
I do see the shouldInterruptAfterDeadline function but there are no others.
Is there anything comming for this or should we look into other libraries?
Thanks in advance for responding :)
The text was updated successfully, but these errors were encountered: