Keeps trying to execute a function until it has success or until the timeout is reached.

This function is valid in v2.0.0 to v2.24.2. This function has been downloaded 40 times.


{Function} fn
Function to keep trying to run.
{number=} opt_timeout Optional, Default:Infinity
Amount of milliseconds to wait before giving up on running fn.
{number=} opt_interval Optional, Default:100
Amount of milliseconds to wait between each try.


true is returned if no error is thrown the first time fn is called. Otherwise false is returned.