3 ms·
I used to write Java tests for of asynchronous operations such as sending emails and waiting for them to arrive in a mailbox. In order to poll the mailbox I wro
by gdiegel 5y ago
I used to write Java tests for of asynchronous operations such as sending emails and waiting for them to arrive in a mailbox. In order to poll the mailbox I wrote a small routine that would support retrying actions with configurable intervals. At some point I extracted it into a separate project called retryJ and recently released it as open source on Maven Central [1].
[1] https://github.com/gdiegel/retryJ https://github.com/gdiegel/retryJ