How to use the @devexperts/remote-data-ts.success function in @devexperts/remote-data-ts

To help you get started, we’ve selected a few @devexperts/remote-data-ts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github devexperts / dx-platform / packages / rx-utils / src / rd / entity-store.utils.ts View on Github external
switchMapRD(value => {
				const key = pk(value);
				this.cache.set(key, success(value));
				return this.cache.get(key);
			}),
		);
github devexperts / dx-platform / packages / rx-utils / src / rd / entity-store.utils.ts View on Github external
		const entries = values.map<[string, RemoteData]>(item => [pk(item), success(item)]);
		this.cache.setMany(entries);
github devexperts / dx-platform / packages / rx-utils / src / rd / api-client.utils.ts View on Github external
			map(response => success(response.response)),
			catchError(response => {