how to get value from observable angular 10 code example Example: how to get value from observable this.singleEvents$.subscribe(event => this.event = event);