37 static Napi::Value
simulate(
const Napi::CallbackInfo&
info);
NAPI wrapper for the C++ AVM simulation.
static Napi::Value simulate(const Napi::CallbackInfo &info)
NAPI function to simulate AVM execution.
static Napi::Value simulateWithHintedDbs(const Napi::CallbackInfo &info)
NAPI function to simulate AVM execution with pre-collected hints.
static Napi::Value createCancellationToken(const Napi::CallbackInfo &info)
Create a cancellation token that can be used to cancel a simulation.
static Napi::Value cancelSimulation(const Napi::CallbackInfo &info)
Cancel a simulation by signaling the provided cancellation token.