Created
January 29, 2019 14:41
-
-
Save blackheaven/670d926d18d3ad8678c7e787ea9a519a to your computer and use it in GitHub Desktop.
Mono.defer allow to be replayable
This file contains hidden or 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
private Mono<ModSeq> handleRetries(CassandraId mailboxId) { | |
return Mono.defer(() -> tryFindThenUpdateOnce(mailboxId)) | |
.retry(maxModSeqRetries); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment