IRd Call
Functions
Link copied to clipboard
Link copied to clipboard
The same as startSuspending, but the lifetime is equivalent to the lifetime of the current coroutine. Asynchronously invokes the API with the parameters given as request and waits for the result suspending. If you use this method to get a bindable result, then it will be bound to the current IRdCall`s lifetime. If you want to bind the result to a different lifetime, you should use a startSuspending method with lifetime
abstract suspend fun startSuspending(lifetime: Lifetime, request: TReq, responseScheduler: IScheduler? = null): TRes
Asynchronously invokes the API with the parameters given as request and waits for the result suspending.