You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LuaState is very expensive for creating.
And if we treat user as a game player and a webpage as a NPC, we can offer only one lua-state for one logined user.
So we can use a coroutine for one user:webpage pair, the context of talking is auto-saved in the coroutine's context.
Every lua-state can save to a key-value store, when it timeouted.
What about it ?
The text was updated successfully, but these errors were encountered:
LuaState is very expensive for creating.
And if we treat user as a game player and a webpage as a NPC, we can offer only one lua-state for one logined user.
So we can use a coroutine for one user:webpage pair, the context of talking is auto-saved in the coroutine's context.
Every lua-state can save to a key-value store, when it timeouted.
What about it ?
The text was updated successfully, but these errors were encountered: