wasmtime_config_wasm_component_model_async_stackful_set function

  1. @Native<Void Function(Pointer<wasm_config_t>, Bool)>(ffi.Pointer<wasm_config_t>, ffi.Bool)>()
void wasmtime_config_wasm_component_model_async_stackful_set(
  1. Pointer<wasm_config_t> arg0,
  2. bool arg1
)

\brief Configures whether stackful coroutine support is enabled for async components.

For more information see the Rust documentation at https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.wasm_component_model_async_stackful.

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<wasm_config_t>, ffi.Bool)>()
external void wasmtime_config_wasm_component_model_async_stackful_set(
  ffi.Pointer<wasm_config_t> arg0,
  bool arg1,
);