@dxos/app-framework - v0.15.0
    Preparing search index...

    Variable useProfilerSnapshotConst

    useProfilerSnapshot: () => () => ProfilerStats[] = useSurfaceProfilerSnapshot

    Type declaration

      • (): () => ProfilerStats[]
      • Reads the cumulative per-surface stats without subscribing: a profiled component that subscribed would record an entry on every re-render the notification caused, and loop. Sample it on a schedule instead.

        Returns () => ProfilerStats[]