ngxs-labs / async-storage-plugin

⏱ WIP: Async Storage Plugin
MIT License
34 stars 13 forks source link

Support State Tokens used for StateModel names #158

Open nvahalik opened 4 years ago

nvahalik commented 4 years ago

It is possible for a StateToken to be used for the name of a StateModel. Therefore, check for the presence of a StateToken in the name, otherwise fallback to a string.

Also, I updated the signature of the map to match the main StoragePlugin's signature.