Accumulator Flow
This Flow will have behaviour very similar to SharedFlow, but there are several differences:
All unhandled by FlowCollector data will not be removed from AccumulatorFlow and will be sent to new FlowCollectors until anybody will handle it
Here there are an activeData where data T will be stored until somebody will handle it
Functions
Creates AccumulatorFlow using this as base Flow
In fact, it is just classcast of asMutableComposeListState to List
Will create MutableState using asMutableComposeState and use asState to convert it as immutable state
Each value of this will trigger applyDiff to the result SnapshotStateList
Will map this as MutableState. Returned MutableState WILL NOT change source Flow
Use subscribe, but all blocks will be called inside of safely function. Use onException to set up your reaction for Throwables
Use subscribeSafelyWithoutExceptions, but all exceptions inside of safely will be skipped
Use subscribeSafelyWithoutExceptions, but all exceptions will be passed to defaultSafelyExceptionHandler