testRTC allows you to share key/value pairs between the probes that are part of the test run. This script command together with .rtcSetTestValue() 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 test run. The callback function will be invoked and its a single parameter will hold the value provided in the call to .rtcSetTestValue() by another probe. If the time indicated passes without receiving the value, this command will fail.
See .rtcSetTestValue() 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|