Bun

interface

v8.HeapProfileHandle

interface HeapProfileHandle

  • [Symbol.asyncDispose](): Promise<void>;

    Stopping collecting the profile and the profile will be discarded.

  • stop(): Promise<string>;

    Stopping collecting the profile, then return a Promise that fulfills with an error or the profile data.