Skip to main content

stream_all_messages_owned

Function stream_all_messages_owned 

Source
pub async fn stream_all_messages_owned<Context>(
    context: Context,
    conversation_type: Option<ConversationType>,
    consent_state: Option<Vec<ConsentState>>,
) -> Result<impl Stream<Item = Result<StoredGroupMessage, SubscribeError>> + 'static + use<Context>, SubscribeError>
where Context: XmtpSharedContext + 'static, <Context as CoreContext>::ApiClient: XmtpMlsStreams + 'static, <Context as CoreContext>::MlsStorage: 'static,
Expand description

As stream_all_messages, with the stream owning context.