Repository navigation
Release v0.15.0
a reader that falls behind the live stream now ends with xs.lagged, instead of quietly stopping as if it were done. xs's own supervisors catch up from the store and carry on.
thanks @kiil for finding the stall and chasing it down (#169)
- followers (
xs cat -f,.cat -f, http with follow,Store::read) end withxs.laggedwhen they fall behind (#170, ADR 0008) - an actor that falls behind stops with
.fin.error, rather than going idle without a word - actor, service and action supervisors that fall behind read what they missed from the store and carry on (#172, ADR 0009)
- an actor's appends and its
.outland as one batch: no other writer's frames in between (#168) xs cat > fileandxs cat > /dev/nullnow work (#173)
heads up if you embed xs
Store::read now yields Result<Frame, ReadError> (#170):
-while let Some(frame) = rx.recv().await {
+while let Some(item) = rx.recv().await {
+ let frame = item?; // Err(ReadError::Lagged { skipped }) when it fell behindinstall
brew install cablehead/tap/cross-streamcargo install cross-streameget cablehead/xschangelog
- test: the watch test fails at once with the service's error, and names inotify exhaustion as an environment limit (#175)
- test: fix clippy warnings in the integration tests (#174)
- fix: xs cat writes to a regular file or /dev/null (#173)
- fix: a supervisor that falls behind live reads what it missed from the store (#172)
- refactor: use xs::Error for the crate's boxed error, not written out or private aliases (#171)
- fix: read stored frames before subscribing, end a live lag with xs.lagged (ADR 0008) (#170)
- docs: note that actor appends land when the closure returns (#167)
- feat: write an actor's appends and out frame as one batch (#168)