In theory would it be possible to get https://github.com/multiplyco/quiescent working in babashka? it uses modern jvm features like virtual threads, ScopedValue When i tried it locally the first error I got was Unable to resolve classname: clojure.lang.ITransientAssociative from the https://github.com/multiplyco/scoped
I can have a look at what's needed. Feel free to post a Github issue about this
I can already see in quiescent that it uses Java compiled classes: https://github.com/multiplyco/quiescent/blob/main/java/co/multiply/quiescent/impl/ICancellable.java that's a no go in babashka
I can add the Scoped stuff from Java, but custom compiled Java classes aren't going to work
Gotcha ok that's exactly what I was looking for. I'll remember that for next time I wonder if a project can be made bb compat
(off-topic, but that is one neat library! I think I could use this!)
Yea it is very handy. I have a bb script that calls out and starts/orchestrates various long running processes and I had hoped to use quiescent to help structure it better
I'm fine with adding the Scoped stuff from Java. Perhaps quiescent can be built with less Java-isms to support the bb case