Most people get approved for the I-765 first, then I-821D.
In this case, USCIS has up to 90 days to approve your I-765 after your I-821D is approved.
__________________
Self filed AOS │Apps Received By USCIS - 3/18/19
│Biometrics Done - 4/11/19
Interview Scheduled - 4/24/19│Interview Date - 5/31/19│AOS Approval - 5/31/19
Permanent Resident Card Received - 6/8/19