Easy Hot vs Cold Publishers
Cold Publisher Behavior
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 cold Flux that emits "A", "B", "C". Subscribe to it twice, and for each subscriber print with a prefix: "Sub1: A" and "Sub2: A". This demonstrates that cold publishers replay for each subscriber.
Esperado
Sub1: A Sub1: B Sub1: C Sub2: A Sub2: B Sub2: C
Main.kt