twitter/bootstrap — pull request #6320 by renocullous (2012-12-19 03:52:49+00:00)
Title: Added delay option to typeahead

Introduces a delay option that defines the duration in milliseconds between when a keystroke occurs and when a source query is performed.

This also prevents multiple source queries from occurring within the same delay window. so, if multiple keystrokes occur, and the elapsed time between each is less than your delay, only the last keystroke will fire a source query.