From fe4db5b70cb0031ca9c2ef2e08a2ababbc20ca9c Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Fri, 9 Nov 2018 16:04:48 -0600 Subject: [PATCH] Update README.md --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2147b2b..8e748f6 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,3 @@ -# extended_api -mod for minetest - -This mod adds more functions and features to the minetest api. - extended_api =========== @@ -58,14 +53,13 @@ minetest.Async.chain_task(pool,{ args.count = args.count + 1 minetest.log(args.count) return args - end} -) +end}) ``` 8. adds a single function to the task queue. This is a sort of waiting list. ```lua - minetest.Async.queue_task(pool,function() - minetest.log("Hello World!") - end) +minetest.Async.queue_task(pool,function() + minetest.log("Hello World!") +end) ``` Usage Node ===========