rd-framework / com.jetbrains.rd.framework.impl / RdCall / <init>

<init>

RdCall(cancellationScheduler: <ERROR CLASS>? = null, handlerScheduler: <ERROR CLASS>? = null, handler: (<ERROR CLASS>, TReq) -> RdTask<TRes>)
RdCall(requestSzr: ISerializer<TReq> = Polymorphic<TReq>(), responseSzr: ISerializer<TRes> = Polymorphic<TRes>()) RdCall(cancellationScheduler: <ERROR CLASS>? = null, handlerScheduler: <ERROR CLASS>? = null, handler: (TReq) -> TRes)

Assigns a handler that executes the API synchronously.