add new method: `$waitForValue`