Skip to content

1.0.4

Compare
Choose a tag to compare
@angelnikolov angelnikolov released this 06 Mar 22:37
· 34 commits to master since this release
56160de

Deprecated updateAtIndex and removeAtIndex in IStorageStrategy and IStorageStrategy.
Use update and remove.
You will also find that the signature of remove is now remove?(index: number, entity: ICachePair<any>, cacheKey: string): void;
The only difference here is that the removeable entity is passed to the callback so it can be used for finding the correct object to remove in the selected storage.