https://www.youtube.com/watch?v=uac5WVx2tYA
So this guy mentions Chekhov's gun, and he says when foreshadowing something then the thing that's foreshadowed need to happen before the end of the story. So while putting it at the beginning of the story makes sense, I am wondering if we can foreshadow it right before, and when it is too soon to the event that's foreshadowed? Obviously, if something is foreshadowed 3 paragraph before the event happens that's probably too soon, but is there a cutoff line of sort?