import { ConsumerDebugEvents } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";
These events represent informational notifications emitted by ConsumerMessages that can be safely ignored by clients.
Members
DebugEvents are effectively statuses returned by the server that were ignored
by the client. The data
portion of the
status is just a string indicating the code/message of the status.
Requests for messages can be terminated by the server, these notifications
provide information on the number of messages and/or bytes that couldn't
be satisfied by the consumer request. The data
portion of the status will
have the format of {msgsLeft: number, bytesLeft: number}
.
Notifies whenever there's a request for additional messages from the server. This notification telegraphs the request options, which should be treated as read-only. This notification is only useful for debugging. Data is PullOptions.