pub async fn subscribe_to_persistent_subscription(
        &self,
        stream_name: impl AsRef<str>,
        group_name: impl AsRef<str>,
        options: &SubscribeToPersistentSubscriptionn,
    ) -> crate::Result<PersistentSubscription> {
        commands::subscribe_to_persistent_subscription(
            &self.client,
            stream_name.as_ref(),
            group_name.as_ref(),
            options,
            false,
        )
        .await
    }
/// Connects to a persistent subscription group on a stream.
Connects to a persistent subscription group on a stream.
Connects to a persistent subscription group on a stream .
pub async fn subscribe_to_persistent_subscription(
        &self,
        stream_name: impl AsRef<str>,
        group_name: impl AsRef<str>,
        options: &SubscribeToPersistentSubscriptionn,
    ) -> crate::Result<PersistentSubscription> {
        commands::subscribe_to_persistent_subscription(
            &self.client,
            stream_name.as_ref(),
            group_name.as_ref(),
            options,
            false,
        )
        .await
    }
pub async fn subscribe_to_persistent_subscription ( & self , stream_name : impl AsRef < str > , group_name : impl AsRef < str > , options : & SubscribeToPersistentSubscriptionn , ) -> crate :: Result < PersistentSubscription > { commands :: subscribe_to_persistent_subscription ( & self . client , stream_name . as_ref ( ) , group_name . as_ref ( ) , options , false , ) . await }
Connects to a persistent subscription group on a stream.
Connects to a persistent subscription group on a stream .
&self
stream_name
impl AsRef<str>
group_name
impl AsRef<str>
options
&SubscribeToPersistentSubscriptionn
&self
stream_name
impl AsRef<str>
group_name
impl AsRef<str>
options
&SubscribeToPersistentSubscriptionn