pub fn schedule_newcomer_adds(
db: &impl DbQuery,
events: &impl EventWriter<InternalEvent>,
) -> Result<usize, StorageError>Expand description
A new sync group from a Welcome means a new installation: schedule one durable task per eligible group, with bounded DM extras (deduped by payload hash), in the transaction that installs the Welcome, so a restart cannot lose them.