youtube_explode_fork/src/retry library
Functions
-
getExceptionCost(
Exception e) → int - Get "retry" cost of each YoutubeExplode exception.
-
retry<
T> (YoutubeHttpClient? client, FutureOr< T> function()) → Future<T> -
Run the
function
each time an exception is thrown until the retryCount is 0.