(id: String)
| 120 | } |
| 121 | |
| 122 | pub(crate) fn _get(id: String) -> Option<WASMVirtualMachine> { |
| 123 | STORED_VMS.with_borrow(|vms| vms.contains_key(&id).then_some(WASMVirtualMachine { id })) |
| 124 | } |
| 125 | |
| 126 | pub fn get(id: String) -> JsValue { |
| 127 | match Self::_get(id) { |
nothing calls this directly
no test coverage detected