Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create eggshell function to abort vireo runtime #521

Open
rajsite opened this issue Oct 11, 2018 · 0 comments
Open

Create eggshell function to abort vireo runtime #521

rajsite opened this issue Oct 11, 2018 · 0 comments

Comments

@rajsite
Copy link
Member

rajsite commented Oct 11, 2018

There are scenarios in vireo js helpers where assertions should be made that should cause the runtime to abort with an error.

On code paths that are synchronous with executeSlices we can rely on thrown exceptions, however on async callstacks under the user control (JSLI async completion) we cannot throw exceptions to halt the runtime. It would be helpful to have an api function to halt the runtime in those cases. See source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant