API Reference > ui-components > Tree > Subscription Subscription Interface Beta 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: Unsubscribable | () => void | void): void unsubscribe(): void Properties Name Type Description closed boolean Defined in ui/components/src/ui-components/tree/controlled/Observable.ts Line 59 Last Updated: 13 June, 2024