Sometimes named hooks inspection will seemingly fail the first time then work the second time. (e.g. using a DEV build of Facebook.com, the `<CometTheme>` component currently does this).

I _think_ this might indicate a timeout during inspection? (So the retry is fast because everything is cached.)
}
      
      callbacks.forEach(callback => callback());
      callbacks.clear();
    };
    const newRecord: Record<HookNames> = (record = {
      status: Pending,
      value: wakeable,
    });
    let didTimeout = false;
    loadHookNamesFunction(hooksTree).then(
      function onSuccess(hookNames) {
        if (didTimeout) {
          return;
        }
        if (__DEBUG__) {
          console.log('[hookNamesCache] onSuccess() hookNames:', hookNames);
        }
        if (hookNames) {
          const resolvedRecord = ((newRecord: any): ResolvedRecord<HookNames>);
          resolvedRecord.status = Resolved;
          resolvedRecord.value = hookNames;
        } else {
          const notFoundRecord = ((newRecord: any): RejectedRecord);
          notFoundRecord.status = Rejected;
          notFoundRecord.value = null;
        }
        wake();
      },
      function onError(error) {