Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get(): Observable {
const request = timer(500).pipe(
mapTo(products),
map(response => this.productsStore.set(response))
);
return cacheable(this.productsStore, request);
}