Update README.md
This commit is contained in:
parent
454d3812ed
commit
fe4db5b70c
14
README.md
14
README.md
@ -1,8 +1,3 @@
|
|||||||
# extended_api
|
|
||||||
mod for minetest
|
|
||||||
|
|
||||||
This mod adds more functions and features to the minetest api.
|
|
||||||
|
|
||||||
extended_api
|
extended_api
|
||||||
===========
|
===========
|
||||||
|
|
||||||
@ -58,14 +53,13 @@ minetest.Async.chain_task(pool,{
|
|||||||
args.count = args.count + 1
|
args.count = args.count + 1
|
||||||
minetest.log(args.count)
|
minetest.log(args.count)
|
||||||
return args
|
return args
|
||||||
end}
|
end})
|
||||||
)
|
|
||||||
```
|
```
|
||||||
8. adds a single function to the task queue. This is a sort of waiting list.
|
8. adds a single function to the task queue. This is a sort of waiting list.
|
||||||
```lua
|
```lua
|
||||||
minetest.Async.queue_task(pool,function()
|
minetest.Async.queue_task(pool,function()
|
||||||
minetest.log("Hello World!")
|
minetest.log("Hello World!")
|
||||||
end)
|
end)
|
||||||
```
|
```
|
||||||
Usage Node
|
Usage Node
|
||||||
===========
|
===========
|
||||||
|
Loading…
Reference in New Issue
Block a user