ember-resources@5.6.4
·
768 commits
to main
since this release
Patch Changes
- #836
ed6828c
Thanks @rpemberton! - Fixes #835 - resolves regression introduced by PR: #808 which aimed to correctly return the previous task instance's value if the current task hasn't finished yet. The regression described by #835 was that if a task in cancelled (e.g.: dropped), it is considered finished, and that canceled task's value would be used instead of the last compuleted task. In normal ember-concurrency APIs, this is abstracted over via the.lastSuccessful
property on theTaskProperty
. The goal of the.value
ontrackedTask
is to mimic the property chain:taskProperty.lastSuccessful?.value
.