Skip to content

Commit

Permalink
docs: fix javadoc for deferred uni creation
Browse files Browse the repository at this point in the history
  • Loading branch information
manofthepeace committed Nov 22, 2023
1 parent 7093e3c commit f287ac7
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 f287ac7

Please sign in to comment.