From 0503e4fb125cee5d8711229ee07e561f9fb36bc3 Mon Sep 17 00:00:00 2001 From: dormando Date: Thu, 26 Jan 2023 15:41:37 -0800 Subject: proxy: add mcp.await_logerrors() Logs any backgrounded requests that resulted in an error. Note that this may be a temporary interface, and could be deprecated in the future. --- proxy.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proxy.h') diff --git a/proxy.h b/proxy.h index 7c94e97..6ce6ec8 100644 --- a/proxy.h +++ b/proxy.h @@ -480,6 +480,7 @@ enum mcp_await_e { AWAIT_BACKGROUND, // returns as soon as background jobs are dispatched }; int mcplib_await(lua_State *L); +int mcplib_await_logerrors(lua_State *L); int mcplib_await_run(conn *c, mc_resp *resp, lua_State *L, int coro_ref); int mcplib_await_return(io_pending_proxy_t *p); -- cgit v1.2.1