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

Method stateToThread

src/thread.ts:183–185  ·  view source on GitHub ↗
(L: LuaState)

Source from the content-addressed store, hash-verified

181 }
182
183 public stateToThread(L: LuaState): Thread {
184 return L === this.parent?.address ? this.parent : new Thread(this.lua, this.typeExtensions, L, this.parent || this)
185 }
186
187 public pushValue(rawValue: unknown, userdata?: unknown): void {
188 const decoratedValue = this.getValueDecorations(rawValue)

Callers 3

getValueMethod · 0.95
constructorMethod · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected