Signals

getsignalwhitelist

Returns the set of signals allowed by the signal helper layer.

Syntax

getsignalwhitelist(): table

Returns

NameTypeDescription
signalstableTable of whitelisted signals.

Description

Returns the set of signals allowed by the signal helper layer.

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

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

Example

Example call with placeholder values.

local result = getsignalwhitelist()
print(result)