Continue trying to run something on an interval until it succeeds or the timeout elapses.
Usage
import 'package:tryhard/tryhard.dart';
continueTrying(function: () {
// doSomething throwable
}, timeout: 3000, interval: 50);
Continue trying to run something on an interval until it succeeds or the timeout elapses.
import 'package:tryhard/tryhard.dart';
continueTrying(function: () {
// doSomething throwable
}, timeout: 3000, interval: 50);