Is there a way to make synchronous call in sales force ?
Assume that i am running two lines of code in developer console and i want the second line to get executed only if my first line gets completed.
My first line could be a batch job also. So basically if my first line is going to be a batch job call i need t wait till all my batch job gets completed then i should run by second command in the developer console. Please provide some pointer if this is possible in sales force.