MCPcopy Create free account
hub / github.com/dispatchrun/wazergo / CallWithStack

Method CallWithStack

module.go:173–175  ·  view source on GitHub ↗
(ctx context.Context, stack []uint64)

Source from the content-addressed store, hash-verified

171}
172
173func (f *moduleInstanceFunction[T]) CallWithStack(ctx context.Context, stack []uint64) error {
174 return f.Function.CallWithStack(WithModuleInstance(ctx, f.instance), stack)
175}
176
177// Instantiate compiles and instantiates a host module.
178func Instantiate[T Module](ctx context.Context, runtime wazero.Runtime, mod HostModule[T], options ...Option[T]) (*ModuleInstance[T], error) {

Callers

nothing calls this directly

Calls 1

WithModuleInstanceFunction · 0.85

Tested by

no test coverage detected