[Mod] "asyncio" [git] [asyncio]

Post Reply
User avatar
luk3yx
Member
Posts: 83
Joined: Sun Oct 21, 2012 18:14
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx
Location: Earth
Contact:

[Mod] "asyncio" [git] [asyncio]

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"; }

User avatar
orwell
Member
Posts: 958
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

Re: [Mod] "asyncio" [git] [asyncio]

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...

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests