Callback

Trigger a callback function from the same side

Parameters description

ParameterTypeDescriptionRequired

name

string

The callback name

yes

...

any

If the callback's function, the callback parameters

no

Return:

  • ...: any

Example

local test = HRLib.Callback('test:testCallback')

print(test)

Last updated