Created
June 15, 2018 08:48
-
-
Save onmyway133/9da90fbd6c9e7b172560055e0ea3d992 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public class AsyncStorage { | |
fileprivate let internalStorage: StorageAware | |
public let serialQueue: DispatchQueue | |
init(storage: StorageAware, serialQueue: DispatchQueue) { | |
self.internalStorage = storage | |
self.serialQueue = serialQueue | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment