Last active
September 12, 2017 14:39
-
-
Save mwrites/f26b20da31a009ead57e3bbe3c905127 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
//MARK: - | |
//MARK: Private | |
class JobQueueCenter {} | |
//MARK: - | |
//MARK: Public API | |
extension JobQueueCenter { | |
static let current = JobQueueCenter() | |
func enqueue(job: Job) {} | |
func executeNext() {} | |
func persist() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment