StuartHarris
released this
23 Oct 09:31
·
5 commits
to master
since this release
Summary
crux_core
Several additional methods to help with testing Crux apps:
- Adds a
Clone
bound on theOperation
trait so that we can examine the operation and still resolve
its owning request later on — this is a breaking change. - Adds a
take_effects
method onUpdate
to allow you to take effects off the Update that match the predicate - Adds a
take_effects_partitioned_by
method onUpdate
to allow you to take effects off the Update
that match the predicate and also the remaining effects that don't match
crux_time
- adds a new
Clear
variant to to theTimeRequest
Operation
and augmentsNotifyAt
andNotifyAfter
with aTimerId
to facilitate cancelling requests. This is a breaking change.
What's Changed
- must_use on app.update() by @StuartHarris in #281
- feat(crux_time): cancellable timer by @PatrykBuniX in #279
Clone
bound onOperation
(breaking) and test helper methods by @StuartHarris in #280
New Contributors
- @PatrykBuniX made their first contribution in #279
Full Changelog: crux_core-v0.9.1...crux_core-v0.10.0