Skip to main content

stream_conversations_owned

Function stream_conversations_owned 

Source
pub async fn stream_conversations_owned<Context>(
    context: Context,
    conversation_type: Option<ConversationType>,
    include_duplicate_dms: bool,
) -> Result<impl Stream<Item = Result<MlsGroup<Context>, SubscribeError>> + 'static + use<Context>, SubscribeError>
where Context: XmtpSharedContext + 'static, <Context as CoreContext>::ApiClient: XmtpMlsStreams,
Expand description

Stream conversations but decouple the lifetime of the caller from the stream.