Wait for plugin shutdown
(&self)
| 1083 | |
| 1084 | /// Wait for plugin shutdown |
| 1085 | pub async fn join(&self) -> Result<(), Error> { |
| 1086 | self.wait_handle |
| 1087 | .subscribe() |
| 1088 | .recv() |
| 1089 | .await |
| 1090 | .context("error waiting for shutdown") |
| 1091 | } |
| 1092 | |
| 1093 | /// Request plugin shutdown |
| 1094 | pub fn shutdown(&self) -> Result<(), Error> { |