Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

517 B
Raw Blame
export const LAUNCHPAD_READY_MARK = 'invokeai:ready:launchpad';

export const getWidgetReadyMark = (region: string, typeId: string): string =>
  `invokeai:ready:widget:${region}:${typeId}`;

/** Keep only the latest readiness mark per milestone while retaining navigation-relative timing. */
export const markSemanticReady = (name: string): void => {
  if (typeof performance === 'undefined' || typeof performance.mark !== 'function') {
    return;
  }

  performance.clearMarks?.(name);
  performance.mark(name);
};