subscribe<A> abstract method
Subscribe to the given atom
, automatically cancelling the subscription
when this atom is disposed.
Implementation
void subscribe<A>(
Atom<A> atom,
void Function(A value) handler, {
bool fireImmediately = false,
});