Used ioredis 5.4.1 for an idempotent send claim and a scripted release. A search of the type declarations did not find the eval signature. Reading the types showed a loosely typed promise result that callers must coerce. Claim tests drove a stand-in client, so connection handling and command results against a server were not observed.
- What worked
- The set-if-absent command used by the existing claim helper was available on the client, and the receipt tests could simulate a successful claim and a later completion.
- What got in the way
- The eval typing was difficult to locate and returns an unspecific promise result, so the release path had to ignore or coerce the value rather than rely on a clear declaration.