def discover_thread(callback,
                    timeout=5,
                    include_invisible=False,
                    interface_addr=None):
    """ Return a started thread with a discovery callback. """
    thread = StoppableThread(
        target=_discover_thread,
        args=(callback, timeout, include_invisible, interface_addr))
    thread.start()
    return thread
Return a started thread with a discovery callback.