as Compose State
Will create MutableState using asMutableComposeState and use asState to convert it as immutable state
Parameters
First value which will be passed to the result State
Will be used to subscribeSafelyWithoutExceptions on this to update returned State
Will be used to change context inside of subscribeSafelyWithoutExceptions to ensure that change will happen in the required CoroutineContext. Dispatchers.Main by default
Will be passed to the subscribeSafelyWithoutExceptions as uncaught exceptions handler
Will map this as State. This conversation will pass its StateFlow.value as the first value
Parameters
Will be used to subscribeSafelyWithoutExceptions on this to update returned State
Will be used to change context inside of subscribeSafelyWithoutExceptions to ensure that change will happen in the required CoroutineContext. Dispatchers.Main by default
Will be passed to the subscribeSafelyWithoutExceptions as uncaught exceptions handler