Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanjosolutions/luaevents
A library for working with events.
https://github.com/sanjosolutions/luaevents
wow wow-addon wow-addon-lib
Last synced: 16 days ago
JSON representation
A library for working with events.
- Host: GitHub
- URL: https://github.com/sanjosolutions/luaevents
- Owner: SanjoSolutions
- License: unlicense
- Created: 2022-11-04T23:40:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T16:59:22.000Z (almost 1 year ago)
- Last Synced: 2024-05-01T19:25:52.810Z (8 months ago)
- Topics: wow, wow-addon, wow-addon-lib
- Language: Lua
- Homepage: https://www.patreon.com/addons_by_sanjo
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lua Events
This work is devoted to God.
A library for working with events. This can help other add-on creators to save some work.
All functions can only be used inside coroutines.
You can check out the [Coroutine](https://www.curseforge.com/wow/addons/coroutine) library for coroutine helpers.With the provided functions, sequential code can be written for processes which require data that is provided via events.
**Functions included:**
* **Events.waitForOneOfEvents**: a function to wait for one of multiple events, with an optional timeout.
* **Events.waitForEventCondition**: a function to wait for an event of a specific type and a condition met. A timeout can be optionally passed.
* **Events.waitForEvent**: a function to wait for an event. A timeout can be optionally passed.## How to use
Please see "[How to use Library](https://github.com/SanjoSolutions/LuaLibrary#how-to-use)" for how to use this library.
## Support
You can support me on [Patreon](https://www.patreon.com/addons_by_sanjo).