MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / create_instance

Method create_instance

crates/core/src/host/module_host.rs:514–516  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

512impl GenericModule for Arc<super::wasmtime::Module> {
513 type Instance = Box<super::wasmtime::ModuleInstance>;
514 async fn create_instance(&self) -> Self::Instance {
515 Box::new((**self).create_instance())
516 }
517 fn host_type(&self) -> HostType {
518 HostType::Wasm
519 }

Callers 2

with_instanceMethod · 0.45
get_instanceMethod · 0.45

Calls 1

newFunction · 0.50

Tested by

no test coverage detected