With a regular dental cleaning, you can go ahead and eat after the cleaning, unless you also received a fluoride treatment. If you received a fluoride treatment, you should wait 30 minutes before eating. The fluoride needs time for the treatment to take effect and for the fluoride to be absorbed into the teeth.
Most people should have their teeth cleaned at least twice a year to detect and prevent problems such as cavities, gingivitis, and other diseases related to the mouth. If you do plan to eat or drink after these visits, try to avoid food or drinks that are acidic or abrasive. If you experience sensitivity after your teeth are cleaned, try to eat only soft and room-temperature foods to avoid discomfort, and if your gums are sensitive or bleeding, then any food may cause irritation.