QuickJsRuntime2 constructor
QuickJsRuntime2({})
Implementation
QuickJsRuntime2({
this.moduleHandler,
int? stackSize,
this.timeout,
int? memoryLimit = kDefaultJsMemoryLimit,
this.hostPromiseRejectionHandler,
this.autoExecutePendingJobs = true,
this.webApis = const JsWebApis(),
}) : stackSize = stackSize ?? kDefaultJsStackSize,
memoryLimit = normalizeJsMemoryLimit(memoryLimit) {
this.init();
}