Skip to content

DiscardPolicy

nats.js.api.DiscardPolicy #

Bases: str, Enum

Discard policy when a stream reaches its limits

NEW class-attribute instance-attribute #

NEW = 'new'

OLD class-attribute instance-attribute #

OLD = 'old'

Last update: 2023-11-13