circu.js
    Preparing search index...

    Interface GarbageCollector

    Garbage collector module

    interface GarbageCollector {
        getThreshold(): number;
        run(): void;
        setThreshold(threshold: number): void;
    }
    Index

    Methods

    • Get current GC threshold

      Returns number

      Current threshold (bytes)

    • Manually trigger garbage collection

      Returns void

    • Set GC threshold

      Parameters

      • threshold: number

        New threshold (bytes)

      Returns void