Alumna::Nats::JetStream::Message
Inbound JetStream message.
payload is the server text. It stays valid while you keep this value.
body is a byte view of payload. Copy body if you keep the bytes and drop this value.
Pass the same value to ack or nack. The handler does not ack.
Constructors
from_driver(raw : NATS::JetStream::Message) : self
SourceInstance methods
body
Sourceconsumer
Sourcedelivered_count
Sourcepayload
Sourcereply_to
Sourcestream
Sourcesubject
Source