suspendCombine
inline fun suspendCombine( call: Call<T>, coroutineScope: CoroutineScope, crossinline onResult: suspend (response: ApiResponse<T>) -> Unit): ResponseDataSource<T>
Content copied to clipboard
combine a call and callback instances for caching data on a CoroutineScope.
inline fun suspendCombine( call: Call<T>, context: CoroutineContext = EmptyCoroutineContext, crossinline onResult: suspend (response: ApiResponse<T>) -> Unit): ResponseDataSource<T>
Content copied to clipboard
combine a call and callback instances for caching data on a CoroutineContext.