* Creates a Lua engine with the specified options. * @param [options] - Configuration options for the Lua engine. * @returns - A Promise that resolves to a new LuaEngine instance.
(options: CreateEngineOptions = {})
| 80 | * @returns - A Promise that resolves to a new LuaEngine instance. |
| 81 | */ |
| 82 | public async createEngine(options: CreateEngineOptions = {}): Promise<LuaEngine> { |
| 83 | return new LuaEngine(await this.getLuaModule(), options) |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * Gets the Lua WebAssembly module. |
no test coverage detected