Created
May 24, 2017 03:37
-
-
Save travisdachi/98f3e644651347f791d121566b4c5491 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
package net.appsynth.seven.domain | |
import io.reactivex.Completable | |
import io.reactivex.Observable | |
import net.appsynth.seven.models.promotion.PromotionData | |
object UseCase4 | |
fun UseCase4.getPrepaid(): Observable<PromotionData> { | |
TODO() | |
} | |
fun UseCase4.getSomething(): Observable<String> { | |
TODO() | |
} | |
fun UseCase4.doStuff(): Completable { | |
TODO() | |
} | |
fun UseCase4.validate(): Boolean { | |
TODO() | |
} | |
interface UseCase5 | |
interface ObservableUseCase<T> : UseCase5 { | |
fun toObservable(): Observable<T> | |
} | |
interface CompletableUseCase : UseCase5 { | |
fun toCompletable(): Completable | |
} | |
interface SimpleUseCase<out T> : UseCase5 { | |
fun execute(): T | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment