Unreleased
- Add
Resumable
support for Scoped
.
- Add
Scoped
interpreters that allow the allocator to interpret additional effects used by the handler.
0.5.0.0
- Add
mask
effects.
- Add
Monitor
, an effect that repeatedly checks a condition and restarts a region when it is met.
- Add interpreter combinators for
Scoped
.
- Add a runner for the default
Conc
stack.
0.4.0.0
- Add
lock
, a combinator for protecting a region with a mutex.
- Add
scheduleAsync
, a combinator for running an action async that allows the handle to be used before the thread
starts
- Change the default signal handler for
Interrupt
to CatchInfo
, catching repeated signals.
0.3.0.0
- Change
Race.timeout
to take a Sem
for the fallback instead of a pure value.
- Export all
Queue
constructors from Polysemy.Conc.Queue
.
- Export all
Sync
constructors from Polysemy.Conc.Sync
.
- Move all interpreters to
Polysemy.Conc.Interpreter
.
0.2.0.0
- Add
read*
constructors for Sync
- Add
subscribeWhile
, a combinator that consumes events until a condition is met
- Add looping combinators for
Queue
- Add
retry
, a combinator that runs an action repeatedly until it returns Right
or a timeout is hit
- Add
Scoped
, an effect for local resource scoping
- Add
withAsync
, a bracketing combinator that runs an async action while the main action runs
- Add
interpretAtomic
, a convenience interpreter for AtomicState
that runs runAtomicStateTVar