MCPcopy 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_cancelsFunction · 0.80
it_pausesFunction · 0.80
compress_loopMethod · 0.80
uncompress_loopMethod · 0.80

Calls

no outgoing calls

Tested by 2

it_cancelsFunction · 0.64
it_pausesFunction · 0.64