---
title: "keys past cursor · RUAL Documentation"
description: "Which keys have something past a member's cursor, from a map of heads: the queues with orders a worker has not processed, the channels a reader has unread."
canonical: https://docs.rual.nl/block-types/data/cursor_lag
language: en
---

# keys past cursor

This block is part of the [`data`](https://docs.rual.nl/block-types/data) group and was last modified in core [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

Which keys have something past a member's cursor, from a map of heads: the queues with orders a worker has not processed, the channels a reader has unread.

- group `value` required the set of keys the cursors are for: a shop's order queues, a server's channels

- member `value` whose cursors: a worker, a device, a user. The run's socket's user by default

- heads `object` required key -> head sequence, such as log_heads' heads

- lagging `object`

- keys `array`

- error `value`

heads is key -> sequence, usually log_heads' output. A key lags when its head is above the member's cursor on it; a key with no cursor and a head above 0 lags, a head of 0 never does. lagging maps each lagging key to true (keys that do not lag are absent); keys lists the same keys sorted. One Redis read for the whole map. HEADS_REQUIRED when nothing is wired to heads, HEADS_INVALID when it is not an object. member defaults to the run's socket's user; GROUP_REQUIRED or MEMBER_REQUIRED on error when either is empty, CURSOR_NOT_ENABLED when the node runs no cursors.

## Version history

Introduced in [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

- [`v15.0.2`](https://docs.rual.nl/core-versions/150002): block added in this release.

- [Back to `data`](https://docs.rual.nl/block-types/data): Return to the main group to view all sub-groups

- [Back to `cursors`](https://docs.rual.nl/block-types/data?group=cursors): Return to the group to view all blocks within this group
