Skip to main content

Variable: gc

readonly gc: object

Management for the garbage collection.

Type Declaration

enabled

enabled: boolean

Enables / disables automatic garbage collection.

run()

run: () => void

Force garbage collection now.

Returns

void

threshold

threshold: number

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