https://kotlinlang.org logo
#orbit-mvi
Title
# orbit-mvi
k

kenkyee

10/15/2021, 12:24 PM
In the last video on Orbit, there was a mention of adding a timetravel feature...I didn't see an issue on design for it. Was mostly curious if there's a hook for watching the state transitions to add debugging logs.
m

miqbaldc

10/15/2021, 12:35 PM
afaik last discussion, they really hard working on it. I also can’t wait for this features 🎉 https://kotlinlang.slack.com/archives/CPM6UMD2P/p1626185251099400
k

kenkyee

10/15/2021, 12:35 PM
ahh...missed that...thx 🙂
hmm..no info on how it'd work internally which I'd be curious about...
Sometimes, it's more useful to be able to watch state changes in logs vs. timetraveling IMHO, so a hook would be nice.
m

Mikolaj Leszczynski

10/15/2021, 12:39 PM
@kenkyee no reason you can’t manually add
onEach
with log output on the
StateFlow
while we’re working on supporting it internally.
🙏 1
1
k

kenkyee

10/15/2021, 12:40 PM
hmm..true... 🙂
3 Views