Documentation
¶
Overview ¶
Package wasmworkers validates the bounded WebAssembly worker-pool setting.
Index ¶
Constants ¶
View Source
const ( // A count of one selects the existing single-worker scheduler. DefaultCount = 1 MaxCount = 16 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Count int
}
func (Config) ValidateTarget ¶
func (c Config) ValidateTarget(goos, goarch string, profile crosscompile.WasmProfile, provider crosscompile.WasmProvider) error
Click to show internal directories.
Click to hide internal directories.