The Stack Overflow podcast is back! Listen to an interview with our new CEO.

The timeout term refers to a predefined period of time allowed to elapse before an event is to occur. Timeout may also refer to an event that takes place after a specified period of time elapses.

A timeout refers to both the process of defining, setting and controlling a predefined interval of time specifically related to executing a process when it has elapsed, as well as the process to execute itself.

A timeout may be cancelled, reset or reconfigured at any time, or allowed to run its course. Timeouts typically run once, although may be reused if the required functionality is required more than once.

In computing a timeout may be used to execute a predefined block of code after a specified amount of time, typically to throttle or control event flow or scope digest.

history | excerpt history