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