Skip to content

Commit

Permalink
Merge pull request #1557 from avivmu/main
Browse files Browse the repository at this point in the history
fix(workshop): Variable wasn't printed
  • Loading branch information
jponge authored Mar 19, 2024
2 parents 3b02a05 + 3389121 commit 3e1861e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static void main(String[] args) {
.onItem().invoke(item -> System.out.println("onItem " + item))
.onFailure().invoke(failure -> System.out.println("onFailure " + failure))
.onCompletion().invoke(() -> System.out.println("onCompletion"))
.onTermination().invoke((t, c) -> System.out.println("onTermination " + t + ", c"))
.onTermination().invoke((t, c) -> System.out.println("onTermination " + t + ", " + c))
.subscribe()
.asStream().collect(Collectors.toList());

Expand Down

0 comments on commit 3e1861e

Please sign in to comment.