Optionaloptions: { ttlSeconds?: number }Configuration options.
OptionalttlSeconds?: numberTime-to-live for streams in seconds. Defaults to 5 minutes.
Opens a stream for writing.
The unique identifier for the stream.
An object to write to the stream.
Subscribes to a stream to receive its events.
The unique identifier for the stream.
The subscriber callbacks.
A promise resolving to an object containing an unsubscribe function.
An in-memory implementation of StreamManager. Useful for testing or single-instance deployments where persistence is not required.