webmcp

changeset 394:912a1b9c2551

Documentation of return values of <db_handle>:wait(...) call in case of error or timeout
author jbe
date Wed Dec 09 03:46:43 2015 +0100 (2015-12-09)
parents b2d2ff6e4385
children ae1a66bb6b7d
files libraries/mondelefant/mondelefant_native.autodoc.lua
line diff
     1.1 --- a/libraries/mondelefant/mondelefant_native.autodoc.lua	Wed Dec 09 03:40:27 2015 +0100
     1.2 +++ b/libraries/mondelefant/mondelefant_native.autodoc.lua	Wed Dec 09 03:46:43 2015 +0100
     1.3 @@ -86,6 +86,9 @@
     1.4  
     1.5  Waits for any NOTIFY event that is being LISTENed for. One or more LISTEN commands must have been sent previously with <db_handle>:query("LISTEN channel_name").
     1.6  
     1.7 +Returns nil as first return value and an error message as second return value in case of error.
     1.8 +Returns false as first return value and a message as second return value in case of timeout.
     1.9 +
    1.10  --]]--
    1.11  -- implemented in mondelefant_native.c as
    1.12  -- static int mondelefant_conn_wait(lua_State *L)

Impressum / About Us