Add comments

This commit is contained in:
Andras Schmelczer 2025-03-29 09:41:33 +00:00
parent e6f05e42be
commit a249919061
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 3 additions and 1 deletions

View file

@ -29,6 +29,8 @@ impl Broadcasts {
tx.subscribe()
}
/// Sent a document update to all clients subscribed to the vault.
/// We ignore & log failures.
pub async fn send(&self, vault: VaultId, document: DocumentVersionWithoutContent) {
let tx = self.get_or_create(vault).await;