Result:
    | { cursor: string; done: false; keys: string[] }
    | { cursor: null; done: true; keys: string[] }