It's a prediction in the plot of the story. Example: "He knew that bad things were to come." This shows that there was a prediction of things to happen.
Melody decided to go out and play flag football even though she had piano lessons this afternoon. As a result of that decision, Melody 's mom had no choice but to take away her ceelphone for a week. YIPES!!!