Skip to content

Add a fn to *ServiceExt to convert a tarpc service to a tokio NewService #135

@tikue

Description

@tikue

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions