The secret to a smooth, non-grainy, thick sauce is a good butter/flour roux, which is a basic thickener. The flour and butter should be whisked until there’s zero grainy-ness left.