API reference@evolu/common › LeakDetector

Development-time detection of leaked handles via garbage collection.

Core

NameDescription
LeakDescribes a tracked handle for LeakDetector.track.
LeakDetectorDetects handles that are garbage-collected while still considered held.
LeakDetectorDepDependency wrapper for LeakDetector.
noopLeakDetectorNo-op LeakDetector for production.
createLeakDetectorCreates LeakDetector backed by FinalizationRegistry.

Testing

NameDescription
TestLeakDetectorTest LeakDetector with deterministic collection.
TestLeakDetectorDepDependency wrapper for TestLeakDetector.
testCreateLeakDetectorCreates TestLeakDetector.