Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented WebAssembly") ErrNotAWebAssembly = errors.New("Object is not a WebAssembly") )
Functions ¶
Types ¶
type WebAssembly ¶
type WebAssembly struct {
baseobject.BaseObject
}
WebAssembly struct
func New ¶
func New() (WebAssembly, error)
func NewFromJSObject ¶
func NewFromJSObject(obj js.Value) (WebAssembly, error)
func (WebAssembly) Instantiate ¶
func (w WebAssembly) Instantiate(source arraybuffer.ArrayBuffer, imports js.Value) (promise.Promise, error)
func (WebAssembly) InstantiateStreaming ¶
func (WebAssembly) WebAssembly_ ¶
func (w WebAssembly) WebAssembly_() WebAssembly
type WebAssemblyFrom ¶
type WebAssemblyFrom interface {
WebAssembly_() WebAssembly
}
Click to show internal directories.
Click to hide internal directories.