MultiStorePersistentCache - CosmosSwift/swift-coin GitHub Wiki

MultiStorePersistentCache

public protocol MultiStorePersistentCache

Requirements

storeCache(key:โ€‹store:โ€‹)

func storeCache(key: StoreKey, store: CommitKeyValueStore) -> CommitKeyValueStore

unwrap(key:โ€‹)

func unwrap(key: StoreKey) -> CommitKeyValueStore?

reset()

func reset()