Wrap a transport with a per-request timeout. Works by racing the transport promise against a timeout promise.
Transport to wrap
Request to send
Timeout in milliseconds (<=0 disables timeout)
Raw response from the server
If the request exceeds the timeout
Wrap a transport with a per-request timeout. Works by racing the transport promise against a timeout promise.