- 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/sendfor 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/lockinginstead. This was only needed a workaround until thread monitors made their way into loom, which they have. -
BREAKING:
fiberno longer returns a manifold deferred. It now returns a custom typetapestry.core.Fiberwhich implementsclojure.lang.IDerefandmanifold.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.Fibertype - Introduce a custom type for fibers to facilitate interrupts and timeouts. Also provides a customprint-methodwhich makes for introspection.
- Update functions to handle the JDK-19 feature preview signatures.
- Fix an issue where using a stream w/
parallellyand non(for bounding parallelism) would raise an error.