testRTC allows you to share key/value pairs between the probes that are part of the same session. This script command together with .rtcSetSessionValue() can be used for such information sharing and for synchronization across probes.
This script command will wait until the requested key is received in the session. The callback function will be invoked and its a single parameter will hold the value provided in the call to .rtcSetSessionValue() by another probe. If the time indicated passes without receiving the value, this command will fail.
See .rtcSetSessionValue() above for more information and a code example.
|key||string||The key to wait for|
|callback||function||The function that will be called when the value of the given key has been received|
|time||number||The maximum number of milliseconds to wait. If this time passes, the test will fail|