![]() Add new shortcut utilities for collecting StateFlows in a safe manner. The priamry addition here is collectImmediately. collectImmediately just calls block with the existing value initially, which helps remove a good amount of bugs regarding state initialization. Sure, it is a bit inefficient given that it will also initialize on startup, but this is okay. The other utilities are the same, but simply remove the launch boilerplate. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
NOTICE | ||
proguard-rules.pro |