(name: string)
| 188 | const lockExpirationMillis = options.lockExpiration ? Duration.toMillis(options.lockExpiration) : 90_000 |
| 189 | const prefix = options.prefix ?? "effectq:" |
| 190 | const keyQueue = (name: string) => `${prefix}${name}` |
| 191 | const keyLock = (id: string) => `${prefix}${id}:lock` |
| 192 | const keyPending = (name: string) => `${prefix}${name}:pending` |
| 193 | const keyFailed = (name: string) => `${prefix}${name}:failed` |