flatten

Construct a State<A> from a nested State<State<A>> by updating whenever either the inner or outer Signal updates.

Compare with the Monad instance of Dynamic in reflex-frp.