Class Engine
Represents the Wasmtime engine.
Inheritance
System.Object
Engine
Namespace: Wasmtime
Assembly: Wasmtime.Dotnet.dll
Syntax
public class Engine : IDisposable
Constructors
| Improve this Doc View SourceEngine()
Constructs a new default engine.
Declaration
public Engine()
Engine(Config)
Constructs a new engine using the given configuration.
Declaration
public Engine(Config config)
Parameters
Type | Name | Description |
---|---|---|
Config | config | The configuration to use for the engine. |
Remarks
This method will dispose the given configuration.
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
IncrementEpoch()
Increments the epoch for epoch-based interruption
Declaration
public void IncrementEpoch()