Documentation
¶
Overview ¶
Package wwrap wraps wazero modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module wraps a module with various optimizations and enhancements.
func (*Module) CallContext ¶
CallContext calls an exported function, caching it based on the address of the string literal, and returning a slice of return values valid until the next call.
It panics if the call signature is incorrect. If it returns an error, it will be one from [Catch].
Click to show internal directories.
Click to hide internal directories.