Actors

getactors

Returns Actor instances known to the runtime.

Syntax

getactors(): table

Returns

NameTypeDescription
actorstableArray table of Actor instances.

Description

Returns Actor instances known to the runtime.

Call it without parameters. The function reads the needed context from the current runtime state.

It returns actors (table). Use the returns table to separate successful values from nil results and recoverable errors.

Example

Example call with placeholder values.

local result = getactors()
print(result)