def rpc_asynchronous(method):
    """Decorator to declare an asynchronous RPC command.

    :func:`rpc_command` must also be used for this to make effect. The order in
    which both decorators are applied is not important."""
    method.is_asynchronous = True
    return method
