If filed under Premium Processing you will get to know the decision in 15 calendar days and thus you don't need to worry about I-94 expiry. You may continue working with for your employer.
If your H1B extension is filed before your I-94 expiry, you can stay as long the petition is pending.