code: function setPrefixTimeout(element) {
    resetPrefixTimeout(element);
    element[prefixTimeoutKey] = setTimeout(() => {
      resetTypedPrefix(element);
    }, TYPING_TIMEOUT_DURATION);
  }
docs: Wait for the user to stop typing.