mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:52:46 +00:00
Polish contribution
See gh-37305
This commit is contained in:
@@ -468,7 +468,7 @@ seconds:
|
||||
----
|
||||
@Scheduled(initialDelay = 0, fixedRate = 5000)
|
||||
public Mono<Void> reactiveSomething() {
|
||||
AtomicInteger countdown = new AtomicInteger(2);
|
||||
AtomicInteger countDown = new AtomicInteger(2);
|
||||
|
||||
return Mono.defer(() -> {
|
||||
if (countDown.get() == 0 || countDown.decrementAndGet() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user