Spins until the specified condition is satisfied or until the specified timeout is expired.
condition A delegate to be executed over and over until it returns true.millisecondsTimeout The number of milliseconds to wait, or Timeout.Infinite (-1) to wait indefinitely.
True if the condition is satisfied within the timeout; otherwise, false