pub async fn append_to_stream<Events>(
        &self,
        stream_name: impl AsRef<str>,
        options: &AppendToStreamOptions,
        events: Events,
    ) -> crate::Result<Result<WriteResult, WrongExpectedVersion>>
    where
        Events: ToEvents + 'static,
    {
        commands::append_to_stream(&self.client, stream_name, options, events.into_events()).await
    }
/// Sends events to a given stream.
Sends events to a given stream.
Sends events to a given stream .
pub async fn append_to_stream<Events>(
        &self,
        stream_name: impl AsRef<str>,
        options: &AppendToStreamOptions,
        events: Events,
    ) -> crate::Result<Result<WriteResult, WrongExpectedVersion>>
    where
        Events: ToEvents + 'static,
    {
        commands::append_to_stream(&self.client, stream_name, options, events.into_events()).await
    }
pub async fn append_to_stream < Events > ( & self , stream_name : impl AsRef < str > , options : & AppendToStreamOptions , events : Events , ) -> crate :: Result < Result < WriteResult , WrongExpectedVersion > > where Events : ToEvents + ' static , { commands :: append_to_stream ( & self . client , stream_name , options , events . into_events ( ) ) . await }
Sends events to a given stream.
Sends events to a given stream .
&self
stream_name
impl AsRef<str>
options
&AppendToStreamOptions
events
Events
&self
stream_name
impl AsRef<str>
options
&AppendToStreamOptions
events
Events