Get started
Installation
Here are a couple of diffent ways how to install Threader into your codebase. However, before doing so please consider whether the advantages of using multi-threading outweight the disadvantages. By disadvantages, multiple threads taking longer to process the data than just a single thread.
Threader requires version 4.0.0 of Promise! Later versions of module was not tested and are not guaranteed to work!
An up-to-date version of Rojo is required from version 7.3.0
! Later versions
of Rojo does not support the RunContext
property in scripts!
If using aftman to manage Rojo:
rojo = "rojo-rbx/rojo@7.3.0"
- Downloading Source
- Git
- Roblox Marketplace
- Wally
- Head over to Threader's repository
- Click on the
<> Code
dropdown - Click on Download ZIP
- Extract the lib and vendors/Promise folder and import into project
- Sync in both folders:
{
"Threader": { "$path": PATH.TO.THREADER.FOLDER },
"Promise": { "$path": PATH.TO.PROMISE.FOLDER },
}
- Run:
git clone --recurse-submodules https://github.com/jammees/Threader.git PATH
The PATH argument will determine where git places the now copied Threader repository, for example:
git clone --recurse-submodules https://github.com/jammees/Threader.git vendors/Threader
- Sync in lib and vendors/Promise
{
"Threader": { "$path": PATH.TO.THREADER.FOLDER },
"Promise": { "$path": PATH.TO.PROMISE.FOLDER },
}
- Head over to Threader's Marketplace Page
- Click on
Get
- In Studio import it place it under ReplicatedStorage
- Head over to Promise's Github Page
- Install Promise.lua
- In studio import Promise place it next to Threader
- Head over to Threader's Wally Page
- Chose desired version and copy
- Insert now copied data into the wally.toml file
- Run:
wally install
Most up-to-date version of Threader:
threader = "jammees/threader@^1.0.0"
To install wally follow this guide on their website!