public void Subscribe(Action <T> action) { _actions.Add(action); if (_last != null) { emit(_last.t); _last = null; } }
public void OnNext(T t) { emit(t); _last = new Sergio <T>(t); }