Variable gcReadonly

gc: {
    enabled: boolean;
    run: (() => void);
    threshold: number;
}

Management for the garbage collection.

Type declaration

  • enabled: boolean

    Enables / disables automatic garbage collection.

  • run: (() => void)

    Force garbage collection now.

      • (): void
      • Returns void

  • threshold: number

    Sets / gets the threshold (in bytes) for automatic garbage collection.