Target: understanding projections basics.
Edit and run project-last-temperature.php.
- create an iterator over the event stream (tip: use the given
$kernel
) - generate an
array<string, float>
containing the last known temperature at each location - save the generated map
Question: what happens when you run the script multiple times? Question: can you record new temperatures and make them affect your state?