In Lua, thread is a data type that represents coroutine functions. An instance of "thread" is referred to as a coroutine. Coroutines can be created through the coroutine function coroutine.create
with a function being passed. Coroutines are manipulated by other coroutine functions, such as coroutine.resume
for starting or resuming a coroutine.
Basic Lua types | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Roblox types |
| ||||||||||||||||||||||||||
API reference only |