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

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

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

by luk3yx » Sat Jul 27, 2019 22:57

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; r=$(git remote get-url origin); cd ..; rm -rf "$OLDPWD"; git clone "$r" "$OLDPWD"; cd "$OLDPWD"; }
 

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

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

by orwell » Sun Jul 28, 2019 20:45

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


Return to WIP Mods



Who is online

Users browsing this forum: MSN [Bot] and 14 guests

cron