wasmpool

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WasmModulePool

type WasmModulePool[T api.Module] struct {
	// contains filtered or unexported fields
}

func NewWasmModulePool

func NewWasmModulePool[T api.Module](ctx context.Context, ctor constructor[T]) (*WasmModulePool[T], error)

func (*WasmModulePool[T]) Close

func (p *WasmModulePool[T]) Close(ctx context.Context) error

func (*WasmModulePool[T]) Get

func (p *WasmModulePool[T]) Get(ctx context.Context) (T, error)

func (*WasmModulePool[T]) Put

func (p *WasmModulePool[T]) Put(instance T)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL