API Reference > ui-components > Tree > Subscription Subscription Interface Subscription interface compatible with rxjs This interface ensures that consumers are not required to have rxjs as dependency. Extends Unsubscribable Methods Name Description add(tearDown: void | Unsubscribable | () => void): void unsubscribe(): void Properties Name Type Description closed Readonly boolean Defined in ui/components/src/ui-components/tree/controlled/Observable.ts Line 66 Last Updated: 12 June, 2024