code: function handleUpdateFile(response) {
  
          var path = response.path,
              type = response.type,
              $deferredHints = getPendingRequest(path, OFFSET_ZERO, type);
  
          if ($deferredHints) {
              $deferredHints.resolve();
          }
      }
docs: Handle the response from the tern node domain when
  it responds to the update file message.
  
  @param {{path: string, type: string}} response - the response from node domain