pub struct SubscribeToStream<'a> { /* fields omitted */ }
Represents a volatile subscription. For example, if a stream has 100 events
in it when a subscriber connects, the subscriber can expect to see event
number 101 onwards until the time the subscription is closed or dropped.
- Notes
If the connection drops, the command will not try to resume the subscription.
If you need this behavior, use a catchup subscription instead.
Performs the command with the given credentials.
When using projections, you can have links placed into another stream.
If you set true
, the server will resolve those links and will return
the event that the link points to. Default: false
.
Sends the volatile subscription request to the server asynchronously
even if the subscription is available right away.