isparallel
Reports whether the current execution context is parallel.
Syntax
isparallel() -> boolean
Also available as
checkparallelcheck_parallelis_parallel
Returns
| Type | Description |
|---|---|
boolean | Whether execution is currently parallel. |
Description
This is not the same as having an Actor: an Actor task can run in a synchronized serial phase. Calling this does not enter or leave parallel execution. Use Roblox’s task synchronization APIs for that distinction.
Example
print(isparallel())
These are Game executor contracts. Check build requirements and session lifetimes before using them.
