Closed withoutboats closed 6 years ago
Previous, NewService returns a Result, which doesn't work for client services which may need to establish a TCP connection.
Change NewService to return a Future. The previous impl of NewService for Fn() -> Result is made more general, to an Fn() -> IntoFuture.
Fn() -> Result
Fn() -> IntoFuture
This is a breaking change.
Again, like w/ the other PRs, we're going to want to figure out how to best coordinate releasing this work.
Previous, NewService returns a Result, which doesn't work for client services which may need to establish a TCP connection.
Change NewService to return a Future. The previous impl of NewService for
Fn() -> Result
is made more general, to anFn() -> IntoFuture
.This is a breaking change.