/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
typings/internalBinding/heap_utils.d.ts
17 строк
512 B
Donghoon Kang
typings: add heap_utils internalBinding types
01 авг 2026, 04:00
Не верифицирован
01 авг 2026, 04:00
ab1e5fc
Код
Авторство
О чём код?
import { owner_symbol } from './symbols'; declare namespace InternalHeapUtilsBinding { interface HeapSnapshotStreamHandle { [owner_symbol]?: object; onread?: (arrayBuffer: ArrayBuffer | undefined) => void; readStart(): number; } } export interface HeapUtilsBinding { buildEmbedderGraph(): object[]; triggerHeapSnapshot(filename: string | undefined, options: Uint8Array): string; createHeapSnapshotStream( options: Uint8Array, ): InternalHeapUtilsBinding.HeapSnapshotStreamHandle; }