Combine rice, coconut milk, chicken stock, and salt in a rice cooker.
Cook on “quick” setting or white rice setting.
After the cook time is up, allow the rice to sit for 5-10 minutes.
Stir in the shredded coconut and, if desired, the cilantro and lime juice.
