I've got two Observables
public readonly availableTags$ = this.tagSandbox.observeTags()
public readonly jobs$ = this.jobSandbox.observeJobsAfterFiltering()
which I use as Input
values for an Angular component with an async
pipe.
I'd like to transform these two observable in a single one and "merge" their values in single object.
{
availableTags: Tag[],
jobs: Job[]
}
However, the value from jobs$
should be fetched only after availableTags$
has emitted its value.
Is that possible?
All this is to avoid a "double reload" of the Input properties.