MINOR: lua: add core.done() function

This function immediately give back the control to HAProxy core.
diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst
index 8671f3e..07e9029 100644
--- a/doc/lua-api/index.rst
+++ b/doc/lua-api/index.rst
@@ -402,6 +402,19 @@
 
   :returns: A socket class object.
 
+.. js:function:: core.done(data)
+
+  **context**: body, init, task, action, sample-fetch, converter
+
+  :param any data: Return some data for the caller. It is useful with
+    sample-fetches and sample-converters.
+
+  Immediately stops the current Lua execution and returns to the caller which
+  may be a sample fetch, a converter or an action and returns the specified
+  value (ignored for actions). It is used when the LUA process finishes its
+  work and wants to give back the control to HAProxy without executing the
+  remaining code. It can be seen as a multi-level "return".
+
 .. js:function:: core.yield()
 
   **context**: task, action, sample-fetch, converter