Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Freaky/Compactor
/ wait
Method
wait
src/background.rs:139–144 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
137
}
138
139
pub fn wait(self) -> T {
140
match self.result.recv() {
141
Ok(value) => value.unwrap(),
142
Err(e) => panic!(
"{:?}"
, e),
143
}
144
}
145
146
pub fn cancel(&self) {
147
self.control.cancel();
Callers
4
it_cancels
Function · 0.80
it_pauses
Function · 0.80
compress_loop
Method · 0.80
uncompress_loop
Method · 0.80
Calls
no outgoing calls
Tested by
2
it_cancels
Function · 0.64
it_pauses
Function · 0.64