In a large bowl, combine the eggs with half-and-half. In a food processor, pulse corn 5 times in 2 batches until coarsely chopped.
Combine egg mixture with cheese, grated onion, flour, garlic, chives, thyme, and salt and pepper. Stir well to combine.
Place the mixture in a lightly greased 13"x9" baking dish; cover with plastic wrap and chill until ready to bake, at least a day ahead.
Set the oven to 350 degrees Fahrenheit. Place casserole in the oven while it preheats. Bake uncovered for about 45 minutes or until golden and bubbly around edges and center is just set.
Remove the pan from the oven. Allow to stand for 10 minutes before serving. Garnish with thyme and chives. Serve!