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

Function OpenCoroutine

coroutinelib.go:3–8  ·  view source on GitHub ↗
(L *LState)

Source from the content-addressed store, hash-verified

1package lua
2
3func OpenCoroutine(L *LState) int {
4 // TODO: Tie module name to contents of linit.go?
5 mod := L.RegisterModule(CoroutineLibName, coFuncs)
6 L.Push(mod)
7 return 1
8}
9
10var coFuncs = map[string]LGFunction{
11 "create": coCreate,

Callers

nothing calls this directly

Calls 2

RegisterModuleMethod · 0.80
PushMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…