API reference@evolu/common › LeakDetector

Development-time detection of leaked handles via garbage collection.

Functions

FunctionDescription
createLeakDetectorCreates LeakDetector backed by FinalizationRegistry.
testCreateLeakDetectorCreates TestLeakDetector.

Interfaces

InterfaceDescription
LeakDescribes a tracked handle for LeakDetector.track.
LeakDetectorDetects handles that are garbage-collected while still considered held.
LeakDetectorDepDependency wrapper for LeakDetector.
TestLeakDetectorTest LeakDetector with deterministic collection.
TestLeakDetectorDepDependency wrapper for TestLeakDetector.

Variables

VariableDescription
noopLeakDetectorNo-op LeakDetector for production.