You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It allows people to use tarpc in a more composable fashion with the rest of the tokio libraries (say, if they want to handle the incoming stream themselves) and larger ecosystem.
Likely I'd want to reserve the right to change the actual return type because once impl Trait works with traits it'd be nice to just return -> impl NewService<..>.
tikue
changed the title
Add a fn to *ServiceExt to convert a service impl to an impl NewService
Add a fn to *ServiceExt to convert a tarpc service to a tokio NewService
Mar 21, 2017
It allows people to use tarpc in a more composable fashion with the rest of the tokio libraries (say, if they want to handle the incoming stream themselves) and larger ecosystem.
Likely I'd want to reserve the right to change the actual return type because once
impl Trait
works with traits it'd be nice to just return-> impl NewService<..>
.cc @jonhoo
The text was updated successfully, but these errors were encountered: