I want to know when movej command is accomplised in my client via RTDE

I want to know whether the robot has accomplished its movej or not.
Can someone guide me to some API that is used in this regard?