Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bajrangCoder/setu
/ cancel
Method
cancel
src/http/client.rs:24–31 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
22
23
impl InFlightRequest {
24
pub fn cancel(&mut self) -> bool {
25
if let Some(task) = self.task.take() {
26
task.abort();
27
true
28
} else {
29
false
30
}
31
}
32
}
33
34
impl HttpClient {
Callers
3
cancel_in_flight_for_tab
Method · 0.80
cancel_in_flight_for_all_tabs
Method · 0.80
cancel_request
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected