Skip to main content

BidiConnection

Type Alias BidiConnection 

Source
pub type BidiConnection = Connection<BackendBinding>;

Aliased Type§

pub struct BidiConnection { /* private fields */ }

Implementations§

Source§

impl BidiConnection

Source

pub async fn open<A>(api: &A, initial: Update) -> Result<Self, A::Error>
where A: XmtpMlsBidiStreams, A::SubscribeStream: 'static,

Open the backend subscription with the initial topic update.