Skip to content

Commit

Permalink
Merge pull request #1440 from manofthepeace/deferredJavadocFix
Browse files Browse the repository at this point in the history
docs: fix javadoc for deferred uni creation
  • Loading branch information
jponge authored Nov 23, 2023
2 parents 7093e3c + f287ac7 commit 63ec043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implementation/src/main/java/io/smallrye/mutiny/Uni.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public interface Uni<T> {
* Uni.createFrom().completionStage(cs); // Emit the item from this completion stage
* Uni.createFrom().completionStage(() -> cs); // Emit the item from this completion stage, the stage is not created before subscription
* Uni.createFrom().failure(exception); // Emit the failure at subscription time
* Uni.createFrom().deferred(() -> Uni.from().value(x)); // Defer the uni creation until subscription. Each subscription can produce a different uni
* Uni.createFrom().deferred(() -> Uni.createFrom().item(x)); // Defer the uni creation until subscription. Each subscription can produce a different uni
* Uni.createFrom().item(null); // Emit null at subscription time
* Uni.createFrom().nothing(); // Create a Uni not emitting any signal
* Uni.createFrom().publisher(publisher); // Create a Uni from a Reactive Streams Publisher
Expand Down

0 comments on commit 63ec043

Please sign in to comment.