What is the best way make node RunAction to be synchronized when executing CCSequence

Hey
how can i NOT continue with the fllow of the game untill i execute RunAction that contains CCSequence of actions.
is running

while(!bEndSequence)
{
    .. stop app form continue ... 
}

and in the CCSequence the last action will trigger the bEndSequence to true or false
is it the only way ?