Skip to content

Instantly share code, notes, and snippets.

@aminography
Last active January 1, 2020 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aminography/da31ddcbf18f28f96f30e34188b7a501 to your computer and use it in GitHub Desktop.
Save aminography/da31ddcbf18f28f96f30e34188b7a501 to your computer and use it in GitHub Desktop.
import kotlinx.coroutines.CoroutineScope
abstract class BaseUseCase<ParamsType, ResultType> {
abstract fun execute(
coroutineScope: CoroutineScope,
params: ParamsType
): ResultType
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment