1 package leakcanary
2 
3 /**
4  * Decides whether to dump & analyze the heap to look for leaks in instrumentation tests.
5  * The implementation might block for a while to allow temporary leaks to be flushed out, as those
6  * aren't that interesting to report and heap analysis increases test duration significantly.
7  */
interfacenull8 fun interface DetectLeaksInterceptor {
9   fun waitUntilReadyForHeapAnalysis(): HeapAnalysisDecision
10 }
11