4 ms·
How is the state stored for "natural style" functions? Is this continuation style something that Lua supports natively?
by jes5199 14y ago
How is the state stored for "natural style" functions? Is this continuation style something that Lua supports natively?
- jmaygarden 14y agoLua has built-in support of this functionality through coroutines [1]. Serializing the coroutines to a database does requires a library [2]. [1] http://lua-users.org/wiki/CoroutinesTutorial http://lua-users.org/wiki/CoroutinesTutorial [2] http://lua-users.org/wiki/PlutoLibrary http://lua-users.org/wiki/PlutoLibrary