drupflare/worker - v1.0.0
    Preparing search index...

    Function readCursor

    • Rebuilds a usable cursor from whatever came back out of storage.

      Total: null, a string, a truncated object and an index that no longer addresses a unit all resolve to the start of the chain rather than to an exception. That last case is the one that matters in practice -- the unit list is derived from configuration on every invocation, so a redeploy that removes a hook leaves a stored i pointing past the end.

      Parameters

      Returns StoredCursor