IRd Endpoint
Counterpart of IRdCall.
Functions
Link copied to clipboard
open fun set( cancellationScheduler: IScheduler? = null, handlerScheduler: IScheduler? = null, handler: (TReq) -> TRes)
Content copied to clipboard
Assigns a handler that executes the API synchronously.
abstract fun set( cancellationScheduler: IScheduler? = null, handlerScheduler: IScheduler? = null, handler: (Lifetime, TReq) -> RdTask<TRes>)
Content copied to clipboard
Assigns a handler that executes the API asynchronously.
Inheritors
Extensions
Link copied to clipboard
fun <TReq, TRes> IRdEndpoint<TReq, TRes>.setSuspend( cancellationScheduler: IScheduler? = null, handlerScheduler: IScheduler? = null, handler: suspend (Lifetime, TReq) -> TRes)
Content copied to clipboard