start
Content copied to clipboard
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.
Parameters
request
response Scheduler
scheduler, which will be used to set the value of the result. The default is the protocol scheduler
open override fun start( lifetime: Lifetime, request: TReq, responseScheduler: IScheduler?): IRdTask<TRes>
Content copied to clipboard
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.
Parameters
lifetime
cancellation token and lifetime of the result if it is bindable. The lifetime of the counterpart will be terminated when this lifetime is terminated
request
response Scheduler
scheduler, which will be used to set the value of the result. The default is the protocol scheduler