Problem with Servo and Encoder

I am sorry, i didn't understand your question.

If you're asking, that if there's any lag in Serial Monitor, then the answer is no. The serial monitor, updates, angle values in almost real time.

And the problem i am facing is, the motor doesn't respond to change of direction.

When i start the code for the first time, and rotate the encoder in anyone direction, let's say, anticlockwise, then the servo motor, will rotate without any problem in anticlockwise direction, but after some rotation in anticlockwise direction, if i changed the rotation direction of encoder to, clockwise, the servo will stop, and won't change its direction until encoder has made, approximately 180 degrees of rotation.
After motor has started rotating in clockwise direction, and i change the rotation direction of encoder again to Anticlockwise, the motor will again stop moving and won't change direction for next 180 degrees of encoder rotation.

I think motor is stopping whenever the function changes from LeftTurn() to RightTurn() and vice-versa.
But confusingly, Serial Monitor says that correct function is being executed.

Thanks for you reply.

ABP