webmcp

view framework/env/request/is_in_progress.lua @ 493:9f9a67c8f6f5

Simplified implementation of slot.set_layout(...) when using request.is_in_progress()
author jbe
date Tue Jun 27 17:36:20 2017 +0200 (2017-06-27)
parents 93ebbc1e5dbc
children
line source
1 --[[--
2 bool = -- true, if a request is currently in progress (i.e. being answered)
3 request.is_in_progress()
5 This function can be used to check if a request is currently in progress. Returns false during configuration.
7 --]]--
9 function request.is_in_progress()
10 return request._in_progress
11 end

Impressum / About Us