Skip to main content

load_app

Function load_app 

Source
pub fn load_app(lua: &Lua, cfg: &Config) -> Result<AnyUserData>
Expand description

Compiles the application into this state and returns the object t.app() hands a test.

The same evaluation and compile the pool performs, into this state’s registry only: nothing the server serves changes. The handler script’s top-level code and every app:use factory run once more here.

§Errors

Anything that fails the application’s own load.