An implementation of IdlingResource useful for monitoring idleness of network traffic.

Represents a resource of an application under test which can cause asynchronous background work
to happen during test execution (e.g. an intent service that processes a button click). By
default, Espresso synchronizes all view operations with the UI thread as well as
AsyncTasks; however, it has no way of doing so with "hand-made" resources. In such cases, test
authors can register the custom resource via IdlingRegistry
and Espresso will wait for the resource to become idle prior to executing a view
operation.

Important Note: it is assumed that the resource stays idle most of the time.