See also Ted Chiang's What’s Expected of Us, where there's a device with a button and a LED, and the LED always lights up one second before you press the button.
https://www.nature.com/articles/436150a
The heart of each Predictor is a circuit with a negative time delay — it sends a signal back in time.
See also: https://en.m.wikipedia.org/wiki/Thiotimoline
The major peculiarity of the chemical is its "endochronicity": it starts dissolving before it makes contact with water.