MCPcopy Index your code
hub / github.com/Effect-TS/effect / keyQueue

Function keyQueue

packages/experimental/src/PersistedQueue/Redis.ts:190–190  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

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`

Callers 1

Redis.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected