MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / Data

Method Data

store.go:38–38  ·  view source on GitHub ↗

Arbitrary data attached to the store. Embedders should cast this into an appropriate domain specific type. Note that this will return nil for a [Store] created with [NewStore]. Use [NewStoreWithData] to use this method.

()

Source from the content-addressed store, hash-verified

36 // Note that this will return nil for a [Store] created with [NewStore]. Use [NewStoreWithData]
37 // to use this method.
38 Data() interface{}
39}
40
41var (

Callers 3

TestLinkerFuncsFunction · 0.65
TestStoreDataFunction · 0.65
Example_storedataFunction · 0.65

Implementers 2

Storestore.go
Callerfunc.go

Calls

no outgoing calls

Tested by 3

TestLinkerFuncsFunction · 0.52
TestStoreDataFunction · 0.52
Example_storedataFunction · 0.52