Releases: purescript-contrib/purescript-aff
Releases · purescript-contrib/purescript-aff
v4.0.0-rc.1
This pre-release for version v4.0.0 features a revamped API for writing more expressive asynchronous programs with stronger guarantees.
Fiber
cooperative multi-tasking primitive for fork/join workflows- Stronger cleanup guarantees with
bracket
andsupervise
. - Reformulated
AVar
semantics
Migration Notes
- The low-level callback representation is no longer relevant. If you've defined
Aff
effects via the FFI, you should transition to usingControl.Monad.Eff.Compat
, which provides anEffFn
adapter. - The
AVar
API methods have changed to match Haskell'sMVar
API.putVar
effects now block until matched with atakeVar
. It's possible to recover similar behavior as the old API withforkAff (try (putVar avar value))
. - Several unlawful instances where removed for
Aff
(Alternative
,MonadPlus
, andMonadZero
).
v3.1.0
v3.0.0
- Updated to work with PureScript 0.11
- Removed
later
andlater'
in favor ofdelay
.
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.1.0
- Added functions to
Control.Monad.Aff.Console
to matchControl.Monad.Eff.Console
, re-exportCONSOLE
effect (@texastoland)