MCPcopy Index your code
hub / github.com/yuin/gopher-lua / Context

Method Context

state.go:2267–2269  ·  view source on GitHub ↗

Context returns the LState's context. To change the context, use WithContext.

()

Source from the content-addressed store, hash-verified

2265
2266// Context returns the LState's context. To change the context, use WithContext.
2267func (ls *LState) Context() context.Context {
2268 return ls.ctx
2269}
2270
2271// RemoveContext removes the context associated with this LState and returns this context.
2272func (ls *LState) RemoveContext() context.Context {

Callers 1

TestContextTimeoutFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestContextTimeoutFunction · 0.36