Skip to content

10.0.570

Compare
Choose a tag to compare
@niwinz niwinz released this 05 Dec 21:49
· 144 commits to master since this release

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 to promesa.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 for schedule and many other timeout related arities.
  • Add genera purpose promesa.core/await! helper for uniformly wait blocking current thread an asynchronous work termination (such that Thread, CountDownLatch, or CompletableFuture, 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 and fnly 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 to then, handle and catch)
  • Add some convenience helpers for working with threads and vthreads (such that: interrupt, check interruption flag, sleeping, ...)
  • General code cleaning and internal efficiency improvements.