promesa
promesa copied to clipboard
A promise library & concurrency toolkit for Clojure and ClojureScript.
There is an excellent User Guide here: https://github.com/funcool/promesa/blob/master/doc/user-guide.md But this is not clear from the README. I think you should link to the User Guide as one of the first...
Would be good to have ability to setup global handler for catching any unhandled rejection Something like `process.on('unhandledRejection', ...` in Node.js https://nodejs.org/dist/latest-v18.x/docs/api/process.html#event-unhandledrejection
Promesa provides an [implementation of `clojure.core/print-method` for `java.util.concurrent.CompletionStage`](https://github.com/funcool/promesa/blob/0c5ed6ad033515a2df4b55addea044f60e9653d0/src/promesa/impl.cljc#L362-L369). This can lead to surprising ambiguity errors in application code (see e.g. https://github.com/clj-commons/manifold/pull/237) which then must be worked around via `prefer-method`. Since...
Occasionally an API requires the use of a JavaScript async `for` over some iterator like this: ```javascript for await (const [key, value] of this.keyv.iterator()) { console.log(key, value); // Return: key...
I'm trying to upgrade from [funcool/promesa "10.0.594"] to [funcool/promesa "11.0.678"] The latter isn't compatible with [google api promises](https://google.github.io/google-api-javascript-client/docs/promises.html), they are no longer recognised by promesa as promises: [https://google.github.io/closure-library/api/goog.Thenable.html](https://google.github.io/closure-library/api/goog.Thenable.html) [https://github.com/google/google-api-javascript-client](https://github.com/google/google-api-javascript-client) As...
It would be great if there was a way to run a series of promises sequentially, waiting for the previous one to finish, and return a vec of all promises...
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. Changelog Sourced from browserify-sign's changelog. v4.2.2 - 2023-10-25 Fixed [Tests] log when openssl doesn't support cipher [#37](https://github.com/crypto-browserify/browserify-sign/issues/37) Commits Only apps should have lockfiles 09a8995...
Noah Bogart was so kind to provide this implementation on Slack and I thought it's probably worth adding it to promesa proper :) https://clojurians.slack.com/archives/CHY97NXE2/p1697912862303649?thread_ts=1697818511.853639&cid=CHY97NXE2
I am trying to build a queuing system that puts values onto a buffered `chan` using `offer!` under the expectation that `offer!` should return `true` if there is still space...
Currently when using `go-loop`, kondo will throw an error similar to the image below because it is not treated as the `loop` macro.  As far as I know the...