For example:
<img width="1904" alt="Screen Shot 2021-11-05 at 11 59 05 AM" src="https://user-images.githubusercontent.com/29597/140540816-25d6d47b-7aea-4121-aeaa-565accc65b1f.png">

};
  
  let resolveFn = ((null: any): Function);
  state.asyncProcessingPromises.push(
    new Promise(resolve => {
      resolveFn = resolve;
    }),
  );
  
  
  fetch(snapshot.imageSource)
    .then(response => response.blob())
    .then(blob => {
      
      createImageBitmap(blob).then(bitmap => {
        snapshot.height = bitmap.height;
        snapshot.width = bitmap.width;
        resolveFn();
      });
    });
  profilerData.snapshots.push(snapshot);
}
function processResourceSendRequest(
  event: TimelineEvent,
  timestamp: Milliseconds,
  profilerData: ReactProfilerData,
  state: ProcessorState,
) {
  const data = event.args.data;
  const requestId = data.requestId;