Created
September 12, 2017 14:59
-
-
Save mwrites/b51b9bc05eaba9f4468aca0d12a7a57d to your computer and use it in GitHub Desktop.
JobQueue Implementation in Swift
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
protocol JobQueueStorage : NSCoding { | |
func enqueue(_ element: Job) | |
func dequeue()-> Job? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment