NEVER_EXPIRE

NEVER_EXPIRE: unique symbol

Source: client-types.ts:61

Pass as TaskStateStoreSetOpts.retention to store a task state store key with no expiry, regardless of the deployment default.

A symbol rather than a number, so a retention that reaches Infinity by accident (a division by zero, for example) is rejected instead of silently storing a key forever.

Type

unique symbol