Last active
January 20, 2021 02:54
-
-
Save RinniSwift/69fe6b69354a06f4881f21d0592260aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct CachePayload<T: Hashable, U>: Payload { | |
var key: T | |
var value: U | |
init(key: Key, value: Value) { | |
self.key = key | |
self.value = value | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment