MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / SetConcurrencySupport

Method SetConcurrencySupport

config_feat_component_model.go:16–19  ·  view source on GitHub ↗

SetConcurrencySupport configures whether support for concurrent execution of WebAssembly is enabled for stores using this configuration.

(enabled bool)

Source from the content-addressed store, hash-verified

14// SetConcurrencySupport configures whether support for concurrent execution of
15// WebAssembly is enabled for stores using this configuration.
16func (cfg *Config) SetConcurrencySupport(enabled bool) {
17 C.wasmtime_config_concurrency_support_set(cfg.ptr(), C.bool(enabled))
18 runtime.KeepAlive(cfg)
19}

Callers 1

mainFunction · 0.95

Calls 1

ptrMethod · 0.95

Tested by

no test coverage detected