Releases: funcool/promesa
Releases · funcool/promesa
10.0.571
10.0.570
Relevant changes (mainly focused on JVM/Clojure):
- Fixes and API stabilization on
promesa.exec.csp
(channels & csp patterns for Clojure, that leverages vthreads) - Add
mult
support topromesa.exec.csp
- Make
promesa.exec.csp/pipe
(and many other helpers) do not need internal go-block, making them viable to use in non-vthreads supporting runtime. - Allow
Duration
instances to be passed forschedule
and many other timeout related arities. - Add genera purpose
promesa.core/await!
helper for uniformly wait blocking current thread an asynchronous work termination (such thatThread
,CountDownLatch
, orCompletableFuture
, where each one implements its own mechanism and await! unifies it under single API call, do not be confused with async/await functionality) - Add
mcat
,merr
,hmap
,hcat
andfnly
promise composition functions that intends to be used with->>
instead of->
and focused on performance/efficiency because they a re not performing defensive unwrapping (in difference tothen
,handle
andcatch
) - Add some convenience helpers for working with threads and vthreads (such that: interrupt, check interruption flag, sleeping, ...)
- General code cleaning and internal efficiency improvements.
9.1.538
9.0.507
9.0.489
9.0.477
8.0.446
- Make
promise?
to check for IPromise protocol instead of concrete types. Now it should
more easy extend promise to other promise like types. - Rename
promise.core/do!
macro topromise.core/do
(backward compatible, previous
macro still in the codebase) - Add promise aware
with-redefs
macro (thanks to @eccentric-j)
7.0.444
7.0.443
- Add better builtin clj-kondo config (thanks to @wilkerlucio)
- Make
promise?
to check for IPromise protocol instead of concrete types. - Add
promesa.exec/with-dispatch
macro.