Versions in this module Expand all Collapse all v0 v0.90.0 Jan 20, 2026 Changes in this version + type ModuleCache struct + func NewModuleCache(capacity int, logger *zap.Logger) *ModuleCache + func (c *ModuleCache) Capacity() int + func (c *ModuleCache) Clear(ctx context.Context) + func (c *ModuleCache) Delete(ctx context.Context, wasmCID string) + func (c *ModuleCache) Get(wasmCID string) (wazero.CompiledModule, bool) + func (c *ModuleCache) GetOrCompute(wasmCID string, compute func() (wazero.CompiledModule, error)) (wazero.CompiledModule, error) + func (c *ModuleCache) GetStats() (size int, capacity int) + func (c *ModuleCache) Has(wasmCID string) bool + func (c *ModuleCache) Set(wasmCID string, module wazero.CompiledModule) + func (c *ModuleCache) Size() int v0.90.0-nigthly Jan 20, 2026