Created
February 12, 2017 06:40
-
-
Save fmo91/bae07afe7d64e803e1abb8ba337487cc to your computer and use it in GitHub Desktop.
Sample Task implementation
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
// | |
// Task.swift | |
// | |
// Created by Fernando Ortiz on 2/11/17. | |
// | |
import Foundation | |
import RxSwift | |
class Task<Input, Output> { | |
func perform(_ element: Input) -> Observable<Output> { | |
fatalError("This must be implemented in subclasses") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment