ReachabilityWatcher

fun interface ReachabilityWatcher

Functions

expectWeaklyReachable
Link copied to clipboard
abstract fun expectWeaklyReachable(watchedObject: Any, description: String)

Expects the provided watchedObject to become weakly reachable soon. If not, watchedObject will be considered retained.

Inheritors

ObjectWatcher
Link copied to clipboard