invoke
inline operator fun invoke(crossinline block: (HeapGraph) -> Set<Long>): LeakingObjectFinder
Content copied to clipboard
Utility function to create a LeakingObjectFinder from the passed in block lambda instead of using the anonymous object : LeakingObjectFinder syntax.
Usage:
val listener = LeakingObjectFinder {
}Content copied to clipboard