Skip to content

Commit

Permalink
joinjoin_all
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Sep 10, 2024
1 parent 955bea5 commit 5ee2e70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/voicevox_core/src/infer/domains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<T, E> InferenceDomainMap<(Result<T, E>,)> {
}

impl<T: Future> InferenceDomainMap<(T,)> {
pub(crate) async fn join(self) -> InferenceDomainMap<(T::Output,)> {
pub(crate) async fn join_all(self) -> InferenceDomainMap<(T::Output,)> {
let talk = self.talk.await;
InferenceDomainMap { talk }
}
Expand Down
2 changes: 1 addition & 1 deletion crates/voicevox_core/src/voice_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl<A: Async> Inner<A> {
}
},
})
.join()
.join_all()
.map(InferenceDomainMap::collect)
})
.await
Expand Down

0 comments on commit 5ee2e70

Please sign in to comment.