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.)
const TIMEOUT = 3000;
const Pending = 0;
const Resolved = 1;
const Rejected = 2;
type PendingRecord = {|
  status: 0,
  value: Wakeable,
|};
type ResolvedRecord<T> = {|
  status: 1,
  value: T,
|};
type RejectedRecord = {|
  status: 2,
  value: null,
|};
type Record<T> = PendingRecord | ResolvedRecord<T> | RejectedRecord;
function readRecord<T>(record: Record<T>): ResolvedRecord<T> | RejectedRecord {
  if (record.status === Resolved) {
    
    return record;
  } else if (record.status === Rejected) {
    
    return record;
  } else {
    throw record.value;
  }
}
type HookNamesMap = WeakMap<Element, Record<HookNames>>;
function createMap(): HookNamesMap {