Companion
object Companion
Functions
Link copied to clipboard
A LeakDetector that does not watch references for leaks.
Link copied to clipboard
fun timeBasedIn(scope: CoroutineScope, timeSource: TimeSource, leakThreshold: Duration, callback: LeakDetector.Callback): LeakDetector
Create a time-based LeakDetector which reports leaks if watched references have not been garbage collected before the leakThreshold.