Skip to Content

remove Method

Removes the current value from the data source

API

remove(): void;

Example

class ExampleSource<T = any> implements DataSource<T> { private value: T; private readonly subject = new Subject<T>(); remove(): void { delete this.value; this.subject.next(undefined); } // ... }
Last updated on