suspendCombineDataSource
inline fun <T> Call<T>.suspendCombineDataSource( dataSource: DataSource<T>, coroutineScope: CoroutineScope, crossinline onResult: suspend (response: ApiResponse<T>) -> Unit): DataSource<T>
Content copied to clipboard
inline fun <T> Call<T>.suspendCombineDataSource( dataSource: DataSource<T>, context: CoroutineContext = EmptyCoroutineContext, crossinline onResult: suspend (response: ApiResponse<T>) -> Unit): DataSource<T>
Content copied to clipboard
Author
skydoves (Jaewoong Eum)
Combines a DataSource to the call for processing response data more handy.