Calls the given function on the instance task. Does not await the result. # Panics Panics if the instance corresponding to `self` does not exist.
(&self, f: F)
| 1118 | /// |
| 1119 | /// Panics if the instance corresponding to `self` does not exist. |
| 1120 | fn call<F>(&self, f: F) |
| 1121 | where |
| 1122 | F: FnOnce(&mut Instance) + Send + 'static, |
| 1123 | { |
| 1124 | self.client.call(f).expect("instance not dropped") |
| 1125 | } |
| 1126 | |
| 1127 | /// Calls the given function on the instance task, and awaits the result. |
| 1128 | /// |
no test coverage detected