# HG changeset patch # User jbe # Date 1449629203 -3600 # Node ID 912a1b9c25518c82d6640e1490b677a6c6436238 # Parent b2d2ff6e43857399c40fd9482b1e86639379abee Documentation of return values of :wait(...) call in case of error or timeout diff -r b2d2ff6e4385 -r 912a1b9c2551 libraries/mondelefant/mondelefant_native.autodoc.lua --- a/libraries/mondelefant/mondelefant_native.autodoc.lua Wed Dec 09 03:40:27 2015 +0100 +++ b/libraries/mondelefant/mondelefant_native.autodoc.lua Wed Dec 09 03:46:43 2015 +0100 @@ -86,6 +86,9 @@ Waits for any NOTIFY event that is being LISTENed for. One or more LISTEN commands must have been sent previously with :query("LISTEN channel_name"). +Returns nil as first return value and an error message as second return value in case of error. +Returns false as first return value and a message as second return value in case of timeout. + --]]-- -- implemented in mondelefant_native.c as -- static int mondelefant_conn_wait(lua_State *L)