Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
enum DiscardPolicy
import { DiscardPolicy } from "https://deno.land/x/natsws@v1.29.2/src/mod.ts";

Members

New = "new"

Discard the new messages

Old = "old"

Discard old messages to make room for the new ones