본문 바로가기

곳간에서 인심난다/실무

[Kotlin] BaseUseCase

abstract class UseCase<out Type, in Params> where Type : Any {
    abstract suspend operator fun invoke(params: Params): Type?
}