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

Interruptible evals #41

Open
darwin opened this issue Sep 28, 2016 · 0 comments
Open

Interruptible evals #41

darwin opened this issue Sep 28, 2016 · 0 comments

Comments

@darwin
Copy link
Member

darwin commented Sep 28, 2016

nREPL has support for interruptible evaluations (e.g interrupting long running Clojure code snippet). I have copy&pasted supporting code from piggieback to dirac nREPL middleware, but never tested it. It won't work for in-flight weasel evaluations anyways, it will leak them I guess. Javascript does not have a good way how to interrupt long-running code.

Because we are using Chrome's debugger protocol for evaluations in dirac, we can interrupt in-flight code executions. This would require an extension of weasel protocol for interruption requests.

I don't want to spend time on it but if anyone would feel that this is important feature to add I'm open for an addition. This task is considered very hard because you would have to understand full stack.

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