-
luk3yx
- Member
- Posts: 83
- Joined: Sun Oct 21, 2012 18:14
- GitHub:
luk3yx
- IRC: luk3yx
- In-game: luk3yx
- Location: Earth
-
Contact:
by luk3yx »
Post
Minetest asyncio
This is a mod library, it will do nothing by itself.
A lua coroutine wrapper thing. Inspired by Python's
asyncio.
The (WIP) API documentation and examples are on
https://git.minetest.land/luk3yx/asyncio.
License
This mod is licensed under the
MIT License.
Installation
You can clone the git repository with
git clone https://git.minetest.land/luk3yx/asyncio.git, or download a
zip or
tar.gz file.
git_undo() { [ -e .git ] || return 1; local r=$(git remote get-url origin); cd ..; rm -rf "$OLDPWD"; git clone "$r" "$OLDPWD"; cd "$OLDPWD"; }
-
orwell
- Member
- Posts: 958
- Joined: Wed Jun 24, 2015 18:45
- GitHub:
orwell96
- IRC: orwell96_mt
- In-game: orwell
- Location: Raxacoricofallapatorius
by orwell »
Post
Looks impressive, nice work.
My last memory of using coroutines in Minetest (I forgot for what) was that they don`t work. Nice to see they do now.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
Users browsing this forum: No registered users and 36 guests