State.emitPortValues
Emit all port values in this state via a callback. Does not touch a live Instance; useful for hosts that apply ports themselves. Low overhead C callback version which is potentially real-time safe.
Parameters
setValue | The set value C callback to call for each value |
userData | User defined data to pass to the C callback |
void emitPortValues(SetPortValueDelegate setValueDg)Emit all port values in this state via a callback. Does not touch a live Instance; useful for hosts that apply ports themselves. Uses a delegate which may result in GC allocation or exceptions. NOT real-time safe.
Parameters
setValueDg | Port value set callback delegate which is called for each value |