Medium Hot vs Cold Publishers
Share a Hot Publisher
Traducción al español en progresoEl contenido detallado de esta lección aún se está traduciendo. Mientras tanto, se muestra en inglés.
Create a Flux emitting "A", "B", "C" and use .share() to make it hot. Subscribe twice. Hot publishers share the execution: the second subscriber may miss items already emitted.
Note: In synchronous mode, share() typically gives both subscribers all items.
Esperado
Sub1: A Sub1: B Sub1: C
Main.kt