start
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
cancellation token and lifetime of the result if it is bindable. The lifetime of the counterpart will be terminated when this lifetime is terminated
scheduler, which will be used to set the value of the result. The default is the protocol scheduler
Deprecated
Use overload with lifetime
Replace with
import com.jetbrains.rd.util.lifetime.Lifetime
start(/*lifetime*/, request, responseScheduler)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
scheduler, which will be used to set the value of the result. The default is the protocol scheduler
Deprecated
Use overload with lifetime
Replace with
import com.jetbrains.rd.util.lifetime.Lifetime
start(/*lifetime*/, request)