(&mut self, tag: Tag)
| 430 | } |
| 431 | |
| 432 | async fn tag_params(&mut self, tag: Tag) -> Result<Vec<wit::WasmType>> { |
| 433 | self.with_store(move |store| { |
| 434 | let ty = tag.ty(&store); |
| 435 | ty.ty() |
| 436 | .params() |
| 437 | .map(|ty| val_type_to_wasm_type(&ty)) |
| 438 | .collect::<Result<Vec<_>>>() |
| 439 | }) |
| 440 | .await? |
| 441 | } |
| 442 | |
| 443 | async fn tag_new(&mut self, engine: Engine, params: Vec<ValType>) -> Result<Tag> { |
| 444 | self.with_store(move |mut store| { |
no test coverage detected