Threads are "functions" you can execute simultaneously. Ofc the reality is, i am just using coroutine for that. But it works pretty good AND is very easy to use.
Here is a list of all available functions for threads:
start
starts a new thread and executes the function
**parameters:**function func
returns: self
getStatus
gets the thread status
parameters: -
returns: string "running" - if its running, "normal" - is active but not running (waiting for a event), "suspended" - is suspended
stop
stops the thread
parameters: -
returns: self