as Mutable Compose List State
inline fun <T> Flow<List<T>>.asMutableComposeListState(scope: CoroutineScope, useContextOnChange: CoroutineContext? = Dispatchers.Main, noinline onException: ExceptionHandler<List<T>?> = defaultSafelyWithoutExceptionHandlerWithNull): <Error class: unknown class><T>(source)
Each value of this will trigger applyDiff to the result SnapshotStateList
Parameters
scope
Will be used to subscribeSafelyWithoutExceptions on this to update returned SnapshotStateList
use Context On Change
Will be used to change context inside of subscribeSafelyWithoutExceptions to ensure that change will happen in the required CoroutineContext. Dispatchers.Main by default
on Exception
Will be passed to the subscribeSafelyWithoutExceptions as uncaught exceptions handler