Skip to main content

Module subscriptions

Module subscriptions 

Source
Expand description

The streams crate with the engine’s receiver modules, at their old paths.

Modules§

barrier
Fixed processing targets over the shared durable receiver.
catch_up
Bounded catch-up through the shared receiver and fixed processing barriers.
incoming
One receiver and processing scheduler for each client context.
local_delivery
Local message delivery. Network receipt and MLS processing run independently.
message_reader
Message delivery with shared network receipt and processing status.
router_callbacks
Native callback streams over the backend subscription router.
stream_conversations
Live conversation notifications from committed group discovery.
stream_failure
Structured processing failures shared by string-based binding errors.
stream_messages
A selected-group consumer over committed local messages.

Enums§

LocalEventError
StreamKind
SubscribeError

Traits§

StreamMessages
The legacy local streams read from a subscription to the client’s internal events.

Functions§

process_streamed_group_message
Use a push envelope for group only as a target for ordered receipt and processing.
process_streamed_welcome_message
Use push metadata as a target. Fetch its complete prefix before processing.
stream_all_messages
Stream the messages of every conversation of context that matches conversation_type and consent_state, borrowing the context for the stream’s lifetime.
stream_all_messages_owned
As stream_all_messages, with the stream owning context.
stream_consent_with_callback
keep_alive lives as long as the stream task.
stream_conversations
Stream the conversations of context that match conversation_type, as they are created or joined, borrowing the context for the stream’s lifetime.
stream_conversations_owned
Stream conversations but decouple the lifetime of the caller from the stream.
stream_conversations_with_callback
keep_alive lives as long as the subscribe closure.
stream_message_deletions_with_callback
keep_alive lives as long as the stream task.
stream_preferences_with_callback
keep_alive lives as long as the stream task.