Replies: 3 comments 2 replies
-
I'd be happy to add this class, but the next problem will be: SCI does not support creating deftypes that implement Java interfaces (this isn't possible without compilation). So I think promesa doesn't work in this state, but will only work when it's rewritten in a way that works with SCI, currently. |
Beta Was this translation helpful? Give feedback.
-
aha, that's a bummer :-) Just another thought. It appears that Rich/Alex are working on native java functional interfaces in clojure.core 1.12. Can SCI work with the design they are currently considering? Maybe you should provide some inputs there. Thanks! |
Beta Was this translation helpful? Give feedback.
-
They only showed a DM spreadsheet in https://download.clojure.org/presentations/DesignInPractice.pdf |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I believe babashka aims to support promesa (though not list officially but doc mentioned a usage with babashka.process). It'd be great to provide full support because promesa.exec.csp has a more robust error handling and non-blocking api (promise based) comparing to core.async (callback based).
Describe the solution you'd like
Add all missing java classes from
https://github.com/funcool/promesa/blob/f6cab38000533587afe170e740627cb374f6cdee/src/promesa/exec.cljc#L26. CompletionStage and CountDownLatch, maybe more are needed (require all promesa.* namespaces in test to discover all of them).
Describe alternatives you've considered
None
Additional context
Beta Was this translation helpful? Give feedback.
All reactions