Skip to content

Commit

Permalink
Removed Subscribe from ReadOnlyObservableList
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall committed Dec 13, 2024
1 parent 35275ea commit 148c4c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Kinetic/ObservableList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,6 @@ protected void MoveItem(int oldIndex, int newIndex)
}
}

public IDisposable Subscribe(IObserver<ListChange<T>> observer) =>
EnsureChangeObservable().Subscribe(observer);

private ItemsObservable EnsureChangeObservable() =>
Unsafe.As<ItemsObservable>(EnsureObservable(GetOffsetOf(ref _items), static (self, offset, next) => new ItemsObservable(self, offset, next)));

Expand Down

0 comments on commit 148c4c1

Please sign in to comment.