Follow the steps in order for the best result.
Begin by lightly coating a frying pan or wok with cooking spray. Heat over medium heat.
Add the chopped onions and cook, stirring occasionally, until they become softened and lightly browned, approximately 10 minutes.
Introduce the sliced mushrooms and thinly sliced garlic to the pan. Stir-fry for about 2 minutes, allowing the flavors to meld.
Incorporate the cooked orzo pasta, peas, and chopped carrots into the mixture.
Add the chili flakes, chopped cilantro (or parsley), and ketjap manis.
Stir everything together thoroughly to ensure all ingredients are well combined and evenly coated with the sauce.
Continue cooking until the stir-fry is heated through, ensuring the vegetables are tender and the orzo is warmed. Season with salt and pepper to your liking before serving.