summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authortenplus1 <tenplus1@users.noreply.github.com>2020-09-23 18:11:56 +0100
committerGitHub <noreply@github.com>2020-09-23 19:11:56 +0200
commit34e3ede8eeb05e193e64ba3d055fc67959d87d86 (patch)
tree6657733c70e578cf0f92c3b711e7b0cbd12ae6b9 /doc
parentadd68369a59af90f8b4203b53695521c6d657d6b (diff)
downloadminetest-34e3ede8eeb05e193e64ba3d055fc67959d87d86.tar.gz
minetest-34e3ede8eeb05e193e64ba3d055fc67959d87d86.tar.bz2
minetest-34e3ede8eeb05e193e64ba3d055fc67959d87d86.zip
Ability to remove minetest.after once set (#10103)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a1baadf6d..bd845aad3 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -5336,10 +5336,13 @@ Sounds
Timing
------
-* `minetest.after(time, func, ...)`
+* `minetest.after(time, func, ...)` : returns job table to use as below.
* Call the function `func` after `time` seconds, may be fractional
* Optional: Variable number of arguments that are passed to `func`
+* `job:cancel()`
+ * Cancels the job function from being called
+
Server
------