Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 804a064a authored by Steve Elliott's avatar Steve Elliott
Browse files

[kairos] specify variance for TStateSelector

This allows a more-general TStateSelector to be used in places
specifying a more-specific one.

Flag: EXEMPT unused
Test: atest kairos-tests
Change-Id: I56464da36433a315627e7ee8152bc1d7b49d7322
parent 1ea4433f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ fun <A> TState<A>.selector(numDistinctValues: Int? = null): TStateSelector<A> =
 * @see selector
 */
@ExperimentalFrpApi
class TStateSelector<A>
class TStateSelector<in A>
internal constructor(
    private val upstream: TState<A>,
    private val groupedChanges: GroupedTFlow<A, Boolean>,