https://github.com/turkeymcmac/promisestuff
A promise library for Minetest (and other Lua stuff.)
https://github.com/turkeymcmac/promisestuff
lua minetest minetest-mod
Last synced: about 1 year ago
JSON representation
A promise library for Minetest (and other Lua stuff.)
- Host: GitHub
- URL: https://github.com/turkeymcmac/promisestuff
- Owner: TurkeyMcMac
- License: mit
- Created: 2022-02-01T22:04:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-23T14:20:31.000Z (over 3 years ago)
- Last Synced: 2025-01-22T11:30:57.494Z (about 1 year ago)
- Topics: lua, minetest, minetest-mod
- Language: Lua
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `promisestuff`
This library implements promises for Lua. It was intended for use with Minetest,
but you can use it for other stuff by just including "core.lua". So far I have
tested the core with Lua 5.1 and Lua 5.4. If you are embedding the mod in
another Minetest mod and want to include the Minetest-specific functionality,
you can load "minetest.lua" with your API table as an argument. This will put
the extra functions into the API table. "init.lua" loads the API in this way.
I have documented the [core API](doc/core.md) as well as the [Minetest-specific
API](doc/minetest.md).
All files in this repository are licensed under the MIT license.