Transform the service to return a timeout response after the given duration if the service has not yet responded.
Transform the service to return a timeout response after the given duration if the service has not yet responded. If the timeout fires, the service's response is canceled.
Finite duration to wait before returning a 500
Internal Server Error
response
HttpService to transform
Transform the service to return a timeout response after the given duration if the service has not yet responded.
Transform the service to return a timeout response after the given duration if the service has not yet responded. If the timeout fires, the service's response is canceled.
Finite duration to wait before returning a 500
Internal Server Error
response
HttpService to transform
Transform the service to return a timeout response after the given duration if the service has not yet responded.
Transform the service to return a timeout response after the given duration if the service has not yet responded. If the timeout fires, the service's response continues to run in the background and is discarded.
Finite duration to wait before returning response
(Since version 0.18.4) Use apply(FiniteDuration)(HttpService[F]) instead. That cancels the losing effect.
Transform the service to return a timeout response after the given duration if the service has not yet responded.
Transform the service to return a timeout response after the given duration if the service has not yet responded. If the timeout fires, the service's response continues to run in the background and is discarded.
Finite duration to wait before returning response
HttpService to transform
(Since version 0.18.4) Use apply(FiniteDuration, F[Response[F]](HttpService[F]) instead. That cancels the losing effect.