Struct eventstore::commands::SubscribeToStream[][src]

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.

Methods

impl<'a> SubscribeToStream<'a>
[src]

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.

Auto Trait Implementations

impl<'a> Send for SubscribeToStream<'a>

impl<'a> Sync for SubscribeToStream<'a>