babashka

chromalchemy 2025-07-23T18:25:11.680179Z

How do i use Promesa from Babashka? I included it my deps, and required it and i get error:

lojure.lang.ExceptionInfo: Protocol not found: clojure.core/Inst user promesa/util.cljc:26:1
Evaluation of file main.clj failed: class clojure.lang.ExceptionInfo

chromalchemy 2025-07-23T18:26:25.394719Z

running it with bb main.clj

chromalchemy 2025-07-23T18:32:54.973299Z

Or is there a more easy/idomatic way talk to a websocket asynchronously in bb/clj?

borkdude 2025-07-23T20:05:31.635839Z

@chromalchemy you can run promesa in bb by including it in bb.edn, but currently you need to include the latest git commit sha, since the mvn version isn't compatible yet

borkdude 2025-07-23T20:06:04.791589Z

> Or is there a more easy/idomatic way talk to a websocket asynchronously in bb/clj? don't know, core.async is built in, not sure if that helps

chromalchemy 2025-07-23T20:27:59.572349Z

Ok thanks