A place to hang behavior — code's offered latch where one thing may attach to another's moment.
Old English hoc (hook, angle), from Proto-Germanic hokaz; a bent thing made to catch and hold, later the place code may latch onto another's moment.
A deliberate seam left open on purpose, so one piece of a system can be told when another's moment arrives without either needing to know the other exists.