workaround some large type name length issues

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-03-30 22:59:29 +00:00
parent db99d3a001
commit d60920c728
14 changed files with 41 additions and 32 deletions

View file

@ -235,6 +235,7 @@ pub fn state_keys_with_shortids<'a>(
.ignore_err()
.unzip()
.map(|(ssks, sids): (Vec<u64>, Vec<u64>)| (ssks, sids))
.boxed()
.shared();
let shortstatekeys = short_ids
@ -390,8 +391,10 @@ pub fn state_full_shortids(
.map(parse_compressed_state_event)
.collect()
})
.map_ok(|vec: Vec<_>| vec.into_iter().try_stream())
.map_ok(Vec::into_iter)
.map_ok(IterStream::try_stream)
.try_flatten_stream()
.boxed()
}
#[implement(super::Service)]