<viz>.postEvent

Post an event to the main thread

 

<viz>.postEvent(
    event    
    *args    

)

 

event

The ID of the event to send.


*args

Variable number of arguments to send along with the event.


Remarks

This command allows you to send events to the main script thread from different threads. The event is saved in a list, which the main thread processes at the beginning of every frame.

Return Value

None

See also

<viz>.sendEvent
<viz>.postFunctionCall