mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-16 05:36:50 +00:00
Refactor to async closures.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
cca0f20148
commit
c8d35cca57
36 files changed
+78
-80
No files matched your search
@@ -146,7 +146,7 @@ async fn get_auth_chain_outer(
|
||||
let chunk_cache: Vec<_> = chunk
|
||||
.into_iter()
|
||||
.try_stream()
|
||||
.broad_and_then(|(shortid, event_id)| async move {
|
||||
.broad_and_then(async |(shortid, event_id)| {
|
||||
if let Ok(cached) = self
|
||||
.get_cached_eventid_authchain(&[shortid])
|
||||
.await
|
||||
|
||||
Reference in new issue
Block a user