Calls a Lua function and executes it in the processor thread. With
runSync you can invoke a function of the processor thread by an operation in the controller thread. For example, a parameter change callback (controller thread) could invoke a function like
controlChange (processor thread). The callback that called
runSync is not stopped and continues its execution.
runSync will be exectued in the next audio block. The
id allows you to collect multiple calls of
runSync and execute only the last call in the next audio block.
Available in: Processor.
|func||The name of the function to be called.||function|
|id||An identifier to combine multiple runSync calls. Only the last will be executed with next audio block||optional|