I was working for employer A.?
You should be fine. Although the regulations do not provide a grace period for unemployment between H-1B employers, USCIS generally approves petitions to change from one employer to the next and considers you to have maintained status if the gap is 30 days or less.