Ian Warwick
03/02/2020, 8:56 AMonActive
and onCommit
etc still considered effects? Just the documentation for onActive
starts with "
An effect used to observe the lifecycle of the composition.
So just wondering so I know what I am talking about when discussing this 😆Adam Powell
03/02/2020, 1:59 PMIan Warwick
03/02/2020, 2:00 PMAdam Powell
03/02/2020, 2:01 PMeffect {}
as the name for a variant of the same idea that accepts a suspend
lambda and will cancel the associated coroutine on disposal; it makes for a really slick API for some thingsIan Warwick
03/02/2020, 2:26 PM