Good boy Snoopy!!

I know when my cat wouldn't eat the vet prescribed her a liquid form of food which she lapped up with great enthusiasm! Is there a similar thing for dogs to make sure they get all they need until they want to eat again?