There are RSUs. When a company goes private, the RSUs convert to cash on the same vesting schedule. Of course the company can cancel them, but they usually keep the vesting schedule to keep the employees.
For the Twitter employees (if they keep their jobs and the RSUs are not canceled) this is a very good deal, because the stock price was really high due to the deal.