public class CallAwaitKt
| Modifier and Type | Method and Description |
|---|---|
static <T> java.lang.Object |
await(retrofit2.Call<T> $receiver,
kotlin.coroutines.experimental.Continuation<? super T> p)
Suspend extension that allows suspend Call inside of a coroutine.
|
static <T> java.lang.Object |
awaitResponse(retrofit2.Call<T> $receiver,
kotlin.coroutines.experimental.Continuation<? super retrofit2.Response<T>> p)
Suspend extension that allows suspend Call inside coroutine.
|
static <T> java.lang.Object |
awaitResult(retrofit2.Call<T> $receiver,
kotlin.coroutines.experimental.Continuation<? super ru.gildor.coroutines.retrofit.Result<? extends T>> p)
Suspend extension that allows suspend Call inside coroutine.
|
public static <T> java.lang.Object await(retrofit2.Call<T> $receiver,
kotlin.coroutines.experimental.Continuation<? super T> p)
Suspend extension that allows suspend Call inside of a coroutine.
public static <T> java.lang.Object awaitResponse(retrofit2.Call<T> $receiver,
kotlin.coroutines.experimental.Continuation<? super retrofit2.Response<T>> p)
Suspend extension that allows suspend Call inside coroutine.
public static <T> java.lang.Object awaitResult(retrofit2.Call<T> $receiver,
kotlin.coroutines.experimental.Continuation<? super ru.gildor.coroutines.retrofit.Result<? extends T>> p)
Suspend extension that allows suspend Call inside coroutine.
class Result object that can be
casted to class Result.Ok (success) or class Result.Error (HTTP error)
and class Result.Exception (other errors)