Add OkHttp await suspension function stub

This commit is contained in:
arkon 2022-02-01 12:54:47 -05:00
parent ffdb3d8b29
commit 0668932a2c

View File

@ -7,3 +7,5 @@ import rx.Observable
fun Call.asObservable(): Observable<Response> = throw Exception("Stub!") fun Call.asObservable(): Observable<Response> = throw Exception("Stub!")
fun Call.asObservableSuccess(): Observable<Response> = throw Exception("Stub!") fun Call.asObservableSuccess(): Observable<Response> = throw Exception("Stub!")
suspend fun Call.await(): Response = throw Exception("Stub!")