NATS::JetStream::StreamConfig::PersistMode
Inherits Enum < Comparable < Value < Object
The PersistMode tells the NATS server when to flush messages to disk.
Constants
Default = 0
Flush each message to disk before acknowledging it
Async = 1
Flush messages to disk asynchronously. The message may be acknowledged before it's flushed, so it can be lost if the server is killed.