[NREPL-33] Consider making session and eval functionality more accessible Created: 08/Oct/12 Updated: 18/Nov/12 |
|
| Status: | Open |
| Project: | tools.nrepl |
| Component/s: | None |
| Affects Version/s: | 0.2.0-beta9 |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Major |
| Reporter: | Hugo Duncan | Assignee: | Chas Emerick |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
ritz re-uses some of nrepl's private functions to avoid duplication. The uses are listed below. Would it be possible to make these functions public? More subjectively, it might also be worth considering factoring out the session functionality into it's own namespace (including msg and possibly queue-eval), so the functionality is not split across the session middleware and the interruptible-eval middleware. The debug nrepl server: This uses clojure.tools.nrepl.middleware.session/create-session and clojure.tools.nrepl.middleware.session/session-out ritz provides an eval op that tracks source forms: This uses clojure.tools.nrepl.middleware.interruptible-eval/queue-eval and clojure.tools.nrepl.middleware.interruptible-eval/configure-executor |