MCPcopy Create free account
hub / github.com/drogus/crows / new_instance

Method new_instance

wasm/src/lib.rs:142–144  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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();

Callers 2

runFunction · 0.80
startMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected