pub async fn stream_all_messages<'a, Context>(
context: &'a Context,
conversation_type: Option<ConversationType>,
consent_state: Option<Vec<ConsentState>>,
) -> Result<impl Stream<Item = Result<StoredGroupMessage, SubscribeError>> + use<'a, Context>, SubscribeError>where
Context: XmtpSharedContext + 'static,
<Context as CoreContext>::ApiClient: XmtpMlsStreams + 'static,
<Context as CoreContext>::MlsStorage: 'static,Expand description
Stream the messages of every conversation of context that matches
conversation_type and consent_state, borrowing the context for the
stream’s lifetime.