- Chore release to add a license to
pom.xml
Release that mostly stabalizes the API (moving out of SNAPSHOT) and updates the documentation to work with cljdoc
- Add
tapestry.core/send
for working with agents.
This release introduces the ability to interrupt fibers as well as introspect them. It also shores up the call signatures w/ the latest loom APIs.
It also removes manifold from the fiber
macro taking us one step closer to
being able drop manifold.
-
BREAKING: Remove
tapestry.core/locking
- useclojure.core/locking
instead. This was only needed a workaround until thread monitors made their way into loom, which they have. -
BREAKING:
fiber
no longer returns a manifold deferred. It now returns a custom typetapestry.core.Fiber
which implementsclojure.lang.IDeref
andmanifold.deferred.IDeferred
. For the most part this should be a seamless change, but if you were explicitly relying on it being a deferred you will need to update your code.
- interrupt! - Add a function for interrupting fibers, allowing them to be terminated early.
- timeout! - Add a function for setting a timeout on fibers, which will cause them to be interrupted.
- alive? - Add a function for seeing whether a fiber is still alive.
tapestry.core.Fiber
type - Introduce a custom type for fibers to facilitate interrupts and timeouts. Also provides a customprint-method
which makes for introspection.
- Update functions to handle the JDK-19 feature preview signatures.
- Fix an issue where using a stream w/
parallelly
and non
(for bounding parallelism) would raise an error.