MCPcopy Create free account
hub / github.com/bytecodealliance/component-docs / States

Class States

component-model/examples/example-host/src/state.rs:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2use wasmtime_wasi::p2::{IoView, WasiCtx, WasiCtxBuilder, WasiView};
3
4pub struct States {
5 table: ResourceTable,
6 ctx: WasiCtx,
7}
8
9impl States {
10 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…