MCPcopy Create free account
hub / github.com/buke/quickjs-go / Runtime

Method Runtime

context.go:200–205  ·  view source on GitHub ↗

Runtime returns the runtime of the context.

()

Source from the content-addressed store, hash-verified

198
199// Runtime returns the runtime of the context.
200func (ctx *Context) Runtime() *Runtime {
201 if ctx == nil {
202 return nil
203 }
204 return ctx.runtime
205}
206
207// Free will free context and all associated objects.
208func (ctx *Context) Close() {

Callers 3

TestContextBasicsFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestContextBasicsFunction · 0.76