Well in the case of a microcontroller, the GPIO's philosophy is to drive or detect a digital signal always faster, our Kinetis K microcontroller's GPIO module detection window is depicted as:

As you can see these figures state a minimum time window/signal width during which an incoming signal could be detected. Of course an incoming signal can be significantly slower and it will be detected as soon as it crosses the threshold voltage level regardless of the time the signal takes to do so:
