Add comments
This commit is contained in:
parent
e6f05e42be
commit
a249919061
2 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue