https://github.com/hugeblank/raisin
Raisin is a priority based coroutine manager with a few additional twists
https://github.com/hugeblank/raisin
computercraft coroutine lua manager thread
Last synced: 9 months ago
JSON representation
Raisin is a priority based coroutine manager with a few additional twists
- Host: GitHub
- URL: https://github.com/hugeblank/raisin
- Owner: hugeblank
- License: mit
- Created: 2019-01-17T06:49:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-23T20:26:05.000Z (over 2 years ago)
- Last Synced: 2025-04-23T13:15:35.238Z (9 months ago)
- Topics: computercraft, coroutine, lua, manager, thread
- Language: Lua
- Homepage: https://github.com/hugeblank/raisin/wiki
- Size: 37.1 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raisin | Threads made easy
Raisin is a priority based coroutine manager with a few additional twists. Its name in its prototyping stage was originally 'ryzen', the joke being that it was a 'threadripper'. Since ryzen had bad SEO, something similar was decided upon.
Raisin is designed for lua's coroutines to allow for many freedoms, such as manual prioritization, grouping, toggling, and a manual coroutine death termination amount.
# Installation
You can install through LuaRocks:
```
$ luarocks install raisin
```
Or directly download the file/repo:
```
$ wget https://raw.githubusercontent.com/hugeblank/raisin/master/raisin.lua
```
# Examples & Documentation
Documentation can be found on the wiki, located [here](https://github.com/hugeblank/raisin/wiki)
Examples are offered (for ComputerCraft) at [this](https://github.com/hugeblank/raisin-demos) repository. If you have further demonstrations, or a better example of what is already provided please make a pull request, contribution is welcome!