Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

project-reactor

Is it possible to start Mono’s in parallel and aggregate the result

December 12, 2023 by Tarik

2 semantics, 1 way to make them run in parallel The two options I present below both need some additional tuning to make A and B Mono run in parallel: namely, each Mono should use subscribeOn(Scheduler) to get out of the common thread from where they’re merged. If you only care about the completion of … Read more

Categories project-reactor Tags project-reactor, spring-webflux Leave a comment

Difference Between Flux.create and Flux.generate

December 11, 2023 by Tarik

In short: Flux::create doesn’t react to changes in the state of the app while Flux::generate does. The long version Flux::create You will use it when you want to calculate multiple (0…infinity) values which are not influenced by the state of your app and the state of your pipeline (your pipeline == the chain of operations … Read more

Categories project-reactor Tags project-reactor Leave a comment

Convert from Flux to Mono

May 14, 2023 by Tarik

Instead of take(1), you could use next(). This will transform the Flux into a valued Mono by taking the first emitted item, or an empty Mono if the Flux is empty itself.

Categories project-reactor Tags project-reactor Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa