- Simplify the
interpret
function - Fix
onThrow
(the thrid argument ofrun
) not to be called twice - BREAKING The previous
interpret
function has been renamed tohandle
- Fix
waitFor
andrunAsync
to return awaited types
- Fix handling of errors thrown by effect handlers
- Add proper support for
try
/catch
/finally
in computations - Add new features
abort
,runPure
,waitFor
, andrunAsync
functions- the optional third argument
onThrow
ofbind
async
effect
- BREAKING
run
now takes two functionsonReturn
andonThrow
, instead of a single functionret
, to handle errors thrown in the computations - BREAKING Rename
EffectId
toEffectKey
- BREAKING The arguments of
Eff
type is flipped (Eff<Row, T>
toEff<T, Row>
) for convenience