UseMutableSource
case
Instantiate this to sync types needed for both funcs.
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Concrete methods
def use(source: MutableSource[S], getSnapshot: Function1[S, A], subscribe: Function2[S, Function0[Unit], Function0[Unit]]): A
subscribe 2nd arg is to be called whenever the value changes and is stable. Last is an unsubscribe for unmounting.
subscribe 2nd arg is to be called whenever the value changes and is stable. Last is an unsubscribe for unmounting.