How do I immediately swap to the next animation in unity?

Lets say animation B takes 1 second and so does animation A.

If animation B is halfway through it’s animation but the requirements for animation A are fulfilled. Animation B will wait 0.5 seconds until swapping to animation A. How would I go about going for switching to Animation A without the delay?

Currently I am using an animation blend tree. I am using the animator editor where arrows point to which animation will play next. If I need to swap please tell me.

I found the answer. All you need to do is turn off “Has Exit Time” button.