-
-
Save rozkminiacz/391932ea8ee38af833637054e0c593e2 to your computer and use it in GitHub Desktop.
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
interface SuspendOutUseCase<Output> { | |
suspend fun execute(): Output | |
} | |
interface SuspendInOutUseCase<Input, Output> { | |
suspend fun execute(input: Input): Output | |
} | |
interface InOutUseCase<Input, Output> { | |
fun execute(input: Input): Output | |
} | |
interface OutUseCase<Output> { | |
fun execute(): Output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment