Course of Raku / Functional, concurrent, reactive, and web programming / Reactive programming
Live and on-demand supplies
Supplies come in two flavours, and knowing the difference saves a lot of confusion. An on-demand supply starts producing its values afresh for each tap, like replaying a recording. A live supply broadcasts values as they happen to all current taps, like a radio station — if you tune in late, you miss what already aired.
This section shows both kinds and when each one is what you want.
Topics in this section
Practice
Complete the 1 quiz that covers the contents of this section.
Exercises
This section contains 3 exercises. Examine all the topics of this section before doing the coding practice.