API Reference > ui-components > Tree > Subscribable Subscribable<T> Interface Beta Subscribable interface compatible with rxjs This interface ensures that consumers are not required to have rxjs as dependency. Methods Name Description subscribe(observer?: Observer<T>): Subscription subscribe(next: null | undefined, error: null | undefined, complete: () => void): Subscription subscribe(next: null | undefined, error: (error: any) => void, complete?: () => void): Subscription subscribe(next: (value: T) => void, error: null | undefined, complete: () => void): Subscription subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription Defined in ui/components/src/ui-components/tree/controlled/Observable.ts Line 30 Last Updated: 13 June, 2024