combineDataSource

inline fun <T> Call<T>.combineDataSource(dataSource: DataSource<T>, crossinline onResult: (response: ApiResponse<T>) -> Unit): DataSource<T>

Author

skydoves (Jaewoong Eum)

Combines a DataSource to the call for processing response data more handy.