Skip to content

RetentionPolicy

nats.js.api.RetentionPolicy #

Bases: str, Enum

How message retention is considered

LIMITS class-attribute instance-attribute #

LIMITS = 'limits'

INTEREST class-attribute instance-attribute #

INTEREST = 'interest'

WORK_QUEUE class-attribute instance-attribute #

WORK_QUEUE = 'workqueue'