Skip to content

Commit

Permalink
✨ 러닝 레포지토리 구현 (getCurrentRunnerCount)
Browse files Browse the repository at this point in the history
Co-authored-by: yonghanJu <[email protected]>
  • Loading branch information
bngsh and yonghanJu committed Nov 17, 2022
1 parent 3f011ba commit ff99215
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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<Int> {
return runningDataSource.getCurrentRunnerCount()
}

override suspend fun startRunning(uid: String): Boolean {
return true
}

override suspend fun finishRunning(uid: String): Boolean {
return true
}
}

0 comments on commit ff99215

Please sign in to comment.