Created
August 17, 2020 12:51
-
-
Save Sajjon/cdffd37be1f72e421a279b714b62af96 to your computer and use it in GitHub Desktop.
A runnable task performing some work.
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 Job { | |
associatedtype Input | |
associatedtype Output | |
func work(input: Input) throws -> Output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment