Skip to content

Commit

Permalink
Merge pull request spring-io#34 from joshlong/patch-1
Browse files Browse the repository at this point in the history
Update SampleWiring.java
  • Loading branch information
bclozel authored Feb 17, 2021
2 parents ba0c426 + d4fc091 commit b18df62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public void customize(RuntimeWiring.Builder builder) {
builder.type("Query", wiringBuilder -> wiringBuilder.dataFetcher("hello",
env -> "Hello world!"));
builder.type("Subscription", wiringBuilder -> wiringBuilder.dataFetcher("greetings",
env -> Flux.just("Hi", "Bonjour", "Hola", "Cio", "Zdravo")
env -> Flux.just("Hi", "Bonjour", "Hola", "Ciao", "Zdravo")
.delayElements(Duration.ofMillis(500))));
}

Expand Down

0 comments on commit b18df62

Please sign in to comment.