Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
switchMapRD(value => {
const key = pk(value);
this.cache.set(key, success(value));
return this.cache.get(key);
}),
);
storiesOf('RenderRemoteData', module).add('default', () => (
!data} />
));
storiesOf('RenderRemoteData', module).add('default', () => (
!data} />
));
const entries = values.map<[string, RemoteData]>(item => [pk(item), success(item)]);
this.cache.setMany(entries);
map(response => success(response.response)),
catchError(response => {