darkarena1 / angular-persistence

An Angular 2 - 4 compatible persistence layer supporting Memory, Session Storage and Local Storage persistence layers. Supports timeout, expiration, single use, and Rx.
MIT License
27 stars 18 forks source link

Add Full Asynch Persistence #7

Open darkarena1 opened 7 years ago

darkarena1 commented 7 years ago

This would add a persistence service that uses Observables for all values. The advantage is that using Observables we could tap into IndexedDB and Cordova secure storage types which use callbacks rather then synchronous functions.

I'm thinking this would use a new service that can utilize the underlying service for the normal storage types. It would be a good exercise for someone wanting to get started with helping with the project.