From 4c6ca05af5c75c30a70be1a29fdb6fb53871c752 Mon Sep 17 00:00:00 2001 From: Kai Zander <61500114+kzander91@users.noreply.github.com> Date: Sat, 23 Dec 2023 22:06:08 +0100 Subject: [PATCH] Fix formatting in scheduling.adoc --- framework-docs/modules/ROOT/pages/integration/scheduling.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/integration/scheduling.adoc b/framework-docs/modules/ROOT/pages/integration/scheduling.adoc index 8c4358b41c0..796d1ea326d 100644 --- a/framework-docs/modules/ROOT/pages/integration/scheduling.adoc +++ b/framework-docs/modules/ROOT/pages/integration/scheduling.adoc @@ -479,12 +479,12 @@ the framework to invoke a suspending function as a `Publisher`. The Spring Framework will obtain a `Publisher` for the annotated method once and will schedule a `Runnable` in which it subscribes to said `Publisher`. These inner regular -subscriptions occur according to the corresponding `cron`/fixedDelay`/`fixedRate` configuration. +subscriptions occur according to the corresponding `cron`/`fixedDelay`/`fixedRate` configuration. If the `Publisher` emits `onNext` signal(s), these are ignored and discarded (the same way return values from synchronous `@Scheduled` methods are ignored). -In the following example, the `Flux` emits `onNext("Hello"), onNext("World")` every 5 +In the following example, the `Flux` emits `onNext("Hello")`, `onNext("World")` every 5 seconds, but these values are unused: [source,java,indent=0,subs="verbatim,quotes"]