Foreshadowing

Foreshadowing is a literary device in which the author hints at an occurrence that will take place later. It may be vague or direct. Vague foreshadowing could include a mention of stormclouds on the horizon when a big storm is about to come. Direct foreshadowing in the same situation would include a weather report saying that it is going to rain later.