-
- All Implemented Interfaces:
-
kotlin.coroutines.Continuation
public abstract class JavaCallback<T extends Object> implements Continuation<Response<T>>
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineContext
context
-
Constructor Summary
Constructors Constructor Description JavaCallback()
-
Method Summary
Modifier and Type Method Description CoroutineContext
getContext()
Unit
resumeWith(Result<Response<T>> result)
abstract Unit
onResponse(Response<T> response)
-
-
Method Detail
-
getContext
CoroutineContext getContext()
-
resumeWith
Unit resumeWith(Result<Response<T>> result)
-
onResponse
abstract Unit onResponse(Response<T> response)
-
-
-
-