Supports custom storage engine with async access
@ngxs-labs/async-storage-plugin run the following command:
npm install --save @ngxs-labs/async-storage-plugin# or if you use yarnyarn add @ngxs-labs/async-storage-plugin
Import the module into your root application module:
Custom Async Storage Engine
You can implement your own async storage engine by providing an engine that implements
If your async storage returns a
Promise you can wrap calls with
Custom Ionic Storage Engine
Here is an example implementation of the
AsyncStorageEngine using the Ionic Storage.
You can find the StorageService in the integration project.