(&self)
| 140 | } |
| 141 | |
| 142 | pub async fn new_instance(&self) -> anyhow::Result<(Instance, InfoHandle, Store<WasiHostCtx>)> { |
| 143 | Instance::new(&self.environment, &self.module).await |
| 144 | } |
| 145 | |
| 146 | pub async fn reserve_instance(&mut self) -> anyhow::Result<()> { |
| 147 | let (sender, receiver) = unbounded_channel(); |