Retry Operators
Learn when and how to use the Retry and RetryWhen operators.
We'll cover the following
There are some operations that require retrying either immediately or at a later point in time if they fail to complete.
Example
Say, for example, we’re developing a chat application, and a user sends a message to another user. If sending that message fails because of a bad network connection, that message should get resent at a better point in time—for example, when the sender establishes a better network connection. While there are many ways to solve this problem, a simple solution would be to add retry logic until the operation succeeds.
Get hands-on with 1400+ tech skills courses.