pub fn stream_conversations_with_callback<Context>(
context: Context,
keep_alive: impl MaybeSend + 'static,
conversation_type: Option<ConversationType>,
convo_callback: impl FnMut(Result<MlsGroup<Context>, SubscribeError>) + MaybeSend + 'static,
on_close: impl FnOnce() + MaybeSend + 'static,
include_duplicate_dms: bool,
) -> impl StreamHandle<StreamOutput = Result<(), SubscribeError>>where
Context: XmtpSharedContext + 'static,
<Context as CoreContext>::ApiClient: XmtpMlsStreams + 'static,
<Context as CoreContext>::MlsStorage: 'static,Expand description
keep_alive lives as long as the subscribe closure.