Created
June 5, 2020 18:51
-
-
Save michael-mckenna/9bd5a7a0cfa8e0be634a27a4fe281d58 to your computer and use it in GitHub Desktop.
Channel List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private channelSubject$ = new BehaviorSubject<Channel[]>([]); | |
private get channels(): Channel[] { | |
return this.channelSubject$.getValue(); | |
} | |
private set channels(val: Channel[]) { | |
this.channelSubject$.next(val); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment