Actor
Running code inside parallel Luau actors and passing values between them.
Available Functions
| Function | Description |
|---|---|
| getactors | Returns a table of actor (not including deleted ones). Some games delete their actors while they're running. |
| getactorthreads | Returns a table of every thread connected to every actor. |
| getdeletedactors | Returns a table of every deleted actor. Some games delete their actors while they're running. |
| is_parallel | Returns a boolean indicating whether is_parallel was called in parallel. |
| run_on_actor | Executes a script on an actor. |
| run_on_thread | Executes a script on an actor thread. |
| create_comm_channel | Returns an identifier and a BindableEvent. Used in one way communication between actors. |
| get_comm_channel | Returns a BindableEvent. Used in one way communication between actors. |