@nats-io/jetstream
    Preparing search index...

    Variable RetentionPolicyConst

    RetentionPolicy: {
        Interest: "interest";
        Limits: "limits";
        Workqueue: "workqueue";
    } = ...

    Type declaration

    • ReadonlyInterest: "interest"

      Retain messages while there is consumer interest on the particular subject.

    • ReadonlyLimits: "limits"

      Retain messages until the limits are reached, then trigger the discard policy.

    • ReadonlyWorkqueue: "workqueue"

      Retain messages until acknowledged