rd-framework / com.jetbrains.rd.framework / IRdEndpoint / set

set

abstract fun set(cancellationScheduler: <ERROR CLASS>? = null, handlerScheduler: <ERROR CLASS>? = null, handler: (<ERROR CLASS>, TReq) -> RdTask<TRes>): Unit

Assigns a handler that executes the API asynchronously.

open fun set(cancellationScheduler: <ERROR CLASS>? = null, handlerScheduler: <ERROR CLASS>? = null, handler: (TReq) -> TRes): Unit

Assigns a handler that executes the API synchronously.