Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is the behavior of TargetEvalExpression() synchronous or asynchronous?

0
Posted

Is the behavior of TargetEvalExpression() synchronous or asynchronous?

0

All the CCStudio Scripting API’s, including TargetEvalExpression(), are synchronous in behavior. TargetEvalExpression() waits for notification that the GEL function was evaluated then returns. However it is important to understand the GEL call being passed to TargetEvalExpression() because for built-in GEL calls that have asynchronous behavior, this notification returns right away whether the actual action is fully completed or not (such as GEL_Load() ). For synchronous GEL calls and custom GEL functions/actions, TargetEvalExpression() will wait until the call (and associated action) has been completed since notification will come then. For more understanding on the behavior of GEL and a list of asynchronous built-in GEL calls, please refer to the FAQ: Is the behavior of GEL synchronous or asynchronous?

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123