readIdSet
function readIdSet(cursor?: unknown): string[];Read an idSet cursor as a string array.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
cursor? | unknown | The source’s previous cursor (ctx.cursor). |
Returns
Section titled “Returns”string[]
The ids already seen (oldest first), or an empty array when the cursor is absent or is a different strategy — an empty set and a first run mean the same thing to a caller, so there is nothing to distinguish. Non-string entries are dropped rather than handed on as ids.