Skip to content
Sharp

Reactive Streams · interview question

In WebFlux, what is the effect of calling 'subscribe()' on a Mono or Flux?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamswebflux-vs-virtual-threads
Choose one answer
Answer and explanation

Correct answer

C. It initiates the data flow and execution of the pipeline.

Why

Calling 'subscribe()' on a Mono or Flux initiates the data flow and the execution of the reactive pipeline, causing the operations defined on the stream to begin processing.

Test yourself on Reactive Streams

A free test with instant, explained results. No account needed.

Start free test
All Reactive Streams questions →