Is there a literary term for when an author refers to something that is going to happen later?
I am referring to two usages of this technique.
The first is when an author says "as will be explained later" or some variation there-of.
The second, which I am more interested in, is when the author says "before XYZ changed all of that" when XYZ is something that happens later in the story.
An example of the second usage is in Genesis 13:10, which refers to the destruction of Sodom before it occurs.