Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.HeapProfiler.LastSeenObjectIdEvent
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { LastSeenObjectIdEvent } = default.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