Closed dsherret closed 5 months ago
Adds the ability to abort a request's response (note: use .timeout(...) to do timeouts):
.timeout(...)
const response = await $.request("https://plugins.dprint.dev/info.json"); response.abort(); const text = await response.text(); // throws because aborted
Adds the ability to abort a request's response (note: use
.timeout(...)
to do timeouts):