What's changed?
- Remove calls to
.unwrap()
and.expect()
within the stream sender that
could panic. Instead, aResult
is returned from the sender task. (@joel-u410) - Remove calls to
.unwrap()
and.expect()
withins3_fetchers
module
Breaking change
- The
streamer()
function now returns a tuple, with the first element being a
JoinHandle<Result<(), Error>>
that you can use to gracefully capture any
errors that occurred within the sender task. If you don't care about errors,
you can easily adapt to this change by changing:to this instead:let receiver = near_lake_framework::streamer(settings);
let (_, receiver) = near_lake_framework::streamer(settings);
Crate Link: https://crates.io/crates/near-lake-framework/0.4.0
Full Changelog: v0.3.0...v0.4.0