Skip to content

Instantly share code, notes, and snippets.

@rozkminiacz
Created Jul 23, 2020
Embed
What would you like to do?
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