Defined in:Waits for a signal to be triggered.
int32 WaitSignal(int32 time = kSignalForever);
||The time, in milliseconds, to wait for a signal. This should be a nonnegative integer or the special constant |
WaitSignalfunction waits for a signal to be triggered or for a timeout interval to expire. If no trigger occurs before the timeout interval expires, then the return value is
kSignalTimeout. Otherwise, the return value is the index value that was passed to the
Signal::TriggerSignalfunction to trigger the signal.