diff --git a/data/src/main/java/com/whyranoid/data/running/RunningRepositoryImpl.kt b/data/src/main/java/com/whyranoid/data/running/RunningRepositoryImpl.kt new file mode 100644 index 00000000..23be8e73 --- /dev/null +++ b/data/src/main/java/com/whyranoid/data/running/RunningRepositoryImpl.kt @@ -0,0 +1,19 @@ +package com.whyranoid.data.running + +import com.whyranoid.data.di.running.RunningDataSource +import com.whyranoid.domain.repository.RunningRepository +import kotlinx.coroutines.flow.Flow + +class RunningRepositoryImpl(private val runningDataSource: RunningDataSource) : RunningRepository { + override fun getCurrentRunnerCount(): Flow { + return runningDataSource.getCurrentRunnerCount() + } + + override suspend fun startRunning(uid: String): Boolean { + return true + } + + override suspend fun finishRunning(uid: String): Boolean { + return true + } +}