Transform the service to return a RequestTimeOut Status after the supplied Duration
Transform the service to return a RequestTimeOut Status after the supplied Duration
Duration to wait before returning the RequestTimeOut
a custom scheduler to use for timing out the request.
If None
is provided, then a default daemon thread scheduler will be used.
HttpService to transform
Transform the service such to return whichever resolves first: the provided Task[Response], or the result of the service
Transform the service such to return whichever resolves first: the provided Task[Response], or the result of the service
Task[Response] to race against the result of the service. This will be run for each Request
org.http4s.HttpService to transform
Transform the service to return a RequestTimeOut Status after 30 seconds
Transform the service to return a RequestTimeOut Status after 30 seconds
HttpService to transform
(Since version 0.15) Use the overload that also has response and customScheduler parameters (with default values provided)