Created
May 30, 2023 03:12
-
-
Save cdmunoz/fbf1a3dcfeb4604151a71c6f97611eff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await onErrorRetry( | |
doIt: () async { | |
await _twilioModule.setup(); | |
_analytic.track('Platform Loaded'); | |
_router.replaceTo(HomeRoute()); | |
status = status.rebuild((b) => b..isLoadingVisible = false); | |
}, | |
onRetry: (ex, retryCount, retryInMilliseconds) { | |
Fimber.w( | |
'$_tag Retrying to create conversations client in milliseconds($retryInMilliseconds) retryCount($retryCount) error($ex)', | |
); | |
}, | |
maxRetries: 2, | |
delayMilliseconds: 100, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment