I think this is what you are asking. If you call setTimeout() like so it will be running A and B at the same time. It should not wait until A has finished completely before running B.
setInterval( tickInterval, 1000 );
function tickInterval ()
{
setTimeout(function() { A(); }, 0);
setTimeout(function() { B(); }, 0);
}
function A () {}
function B () {}