Skip to content

DiscardPolicy

nats.js.api.DiscardPolicy #

Bases: str, Enum

Discard policy when a stream reaches its limits

OLD class-attribute instance-attribute #

OLD = 'old'

NEW class-attribute instance-attribute #

NEW = 'new'