package com.quyunshuo.module.home.fragment.internal

import com.quyunshuo.androidbaseframemvvm.base.mvvm.m.BaseRepository
import kotlinx.coroutines.delay
import javax.inject.Inject

/**
 * @author DBoy 2021/7/6 <p>
 * - 文件描述 :
 */
class InternalRepository @Inject constructor() : BaseRepository() {

    suspend fun getData() = request<String> {
        delay(1000)
        emit("数据加载成功")
    }
}