@twinfinity/core
    Preparing search index...

    Interface MemoryBlockOptions

    interface MemoryBlockOptions {
        onAllocate?: (id: string, byteLength: number) => void;
        onOutOfMemory?: (id: string, requested: number, available: number) => void;
    }
    Index

    Properties

    onAllocate?: (id: string, byteLength: number) => void
    onOutOfMemory?: (id: string, requested: number, available: number) => void