interface IRdCall<in TReq, out TRes>
Represents an API provided by the remote process which can be invoked through the protocol.
abstract fun
Asynchronously invokes the API with the parameters given as request and waits for the result. The returned task will have its result value assigned through the given responseScheduler. abstract fun start(lifetime: <ERROR CLASS>, request: TReq, responseScheduler: <ERROR CLASS>? = null): IRdTask<TRes> |
|
abstract suspend fun startSuspending(lifetime: <ERROR CLASS>, request: TReq, responseScheduler: <ERROR CLASS>? = null): TRes |
|
abstract fun sync(request: TReq, timeouts: RpcTimeouts? = null): TRes
Invokes the API with the parameters given as request and waits for the result. |
fun <T> T.deepClonePolymorphic(): T |
|
fun <TReq, TRes> IRdCall<TReq, TRes>.startAndAdviseSuccess(request: TReq, onSuccess: (TRes) -> Unit): Unitfun <TReq, TRes> IRdCall<TReq, TRes>.startAndAdviseSuccess(lifetime: <ERROR CLASS>, request: TReq, onSuccess: (TRes) -> Unit): Unit |
class RdCall<TReq, TRes> : RdReactiveBase, IRdCall<TReq, TRes>, IRdEndpoint<TReq, TRes> |