human
Complete this python program:
def GetIndexesAsync(**kwargs):
assistant
#Here is the Python program you requested.

    """Asynchronously retrieves the application indexes and their states.
    Identical to GetIndexes() except returns an asynchronous object. Call
    get_result() on the return value to block on the call and get the results.
    """
    extra_hook = kwargs.pop('extra_hook', None)
    config = _GetConfigFromKwargs(kwargs)
    def local_extra_hook(result):
        if extra_hook:
            return extra_hook(result)
        return result
    return _GetConnection().async_get_indexes(config, local_extra_hook)