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

Members

All = "all"

Deliver all messages

Last = "last"

Deliver starting with the last message

LastPerSubject = "last_per_subject"

Deliver starting with the last messages for every subject

New = "new"

Deliver starting with new messages

StartSequence = "by_start_sequence"

Deliver starting with the specified sequence

StartTime = "by_start_time"

Deliver starting with the specified time