Remove the token for the given key without cancelling it (cleanup after normal completion).
(&self, key: &str)
| 77 | |
| 78 | /// Remove the token for the given key without cancelling it (cleanup after normal completion). |
| 79 | pub fn remove(&self, key: &str) { |
| 80 | if let Ok(mut map) = self.tokens.lock() { |
| 81 | map.remove(key); |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | #[derive(Clone)] |
no outgoing calls
no test coverage detected