package run

import "github.com/tetratelabs/wazero/internal/gojs/run"

Package run exists to avoid dependency cycles when keeping most of gojs code internal.

Index

Functions

func RunAndReturnState

func RunAndReturnState(
	ctx context.Context,
	r wazero.Runtime,
	compiled wazero.CompiledModule,
	moduleConfig wazero.ModuleConfig,
	config *config.Config,
) (*gojs.State, error)

Source Files

gojs.go

Version
v1.0.0-rc.2
Published
Mar 16, 2023
Platform
js/wasm
Imports
4 packages
Last checked
3 hours ago

Tools for package owners.