What we need to do to make .scan() flexible enough to switch between these on its own is to pass a function down the stream.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or