Skip to content

Instantly share code, notes, and snippets.

@RoRoche
Created November 21, 2019 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RoRoche/dde3f7733d1182e872389c1c5ffdb32f to your computer and use it in GitHub Desktop.
Save RoRoche/dde3f7733d1182e872389c1c5ffdb32f to your computer and use it in GitHub Desktop.
RxRestRequest.kt
import io.reactivex.Single
interface RxRestRequest<T> {
fun single(): Single<T>
abstract class WrapSyncRequest<T>(protected val restRequest: RestRequest) : RxRestRequest<T>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment