Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.HeapProfiler.LastSeenObjectIdEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { LastSeenObjectIdEvent } = Protocol.HeapProfiler;

If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

Properties

lastSeenObjectId: integer
timestamp: number