Skip to content

Clojure nREPL connection then eval race condition leads to broken REPL #396

Description

@Invertisment

I have developed a plugin that adds some middleware. But if I try to call server.with-conn-and-ops-or-warn then it doesn't crash when the REPL isn't connected. So the call either results in a NOOP or it succeeds. It's random.

So I would like to have some kind of a way to know that it succeeded.

The callback would also be useful when Conjure decides to reconnect to a different REPL. It could notify the child plugins about it.

The alternative could be that I would try to brute-force that function until it "connects" but it's not a good thing to do.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions