Last active
December 18, 2019 14:10
-
-
Save vincent-pradeilles/4cde81164e4da85962364682145721cd 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
@propertyWrapper | |
struct Cached<Input: Hashable, Output> { | |
private var cachedFunction: (Input) -> Output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment