I'm playing around with observables to help me grasp them a little better.
I know an Observbable is capable of setting data, but I'm wondering if it's possible to return the result instead?
getDays(): Observable<any> {
this.quoteService.listDays().subscribe((days) => {
return days;
});
}
Therefore something else would subscribe to getDays.
is this possible?