registerRx method
Implementation
void registerRx(RX<T> rx)
{
rx.onChanged = (T? newValue, T? oldValue)
{
if(!_closed())
{
publish(rx.ref, {'newValue':newValue, 'oldValue':oldValue});
}
};
_rx.add(rx);
}
void registerRx(RX<T> rx)
{
rx.onChanged = (T? newValue, T? oldValue)
{
if(!_closed())
{
publish(rx.ref, {'newValue':newValue, 'oldValue':oldValue});
}
};
_rx.add(rx);
}