MCPcopy Create free account
hub / github.com/ceifa/wasmoon / constructor

Method constructor

src/thread.ts:36–41  ·  view source on GitHub ↗
(lua: LuaWasm, typeExtensions: OrderedExtension[], address: number, parent?: Thread)

Source from the content-addressed store, hash-verified

34 private readonly parent?: Thread
35
36 public constructor(lua: LuaWasm, typeExtensions: OrderedExtension[], address: number, parent?: Thread) {
37 this.lua = lua
38 this.typeExtensions = typeExtensions
39 this.address = address
40 this.parent = parent
41 }
42
43 public newThread(): Thread {
44 const address = this.lua.lua_newthread(this.address)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected