diff options
Diffstat (limited to 'src/remake/mod.rs')
| -rw-r--r-- | src/remake/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs index 90ae436..4847d5c 100644 --- a/src/remake/mod.rs +++ b/src/remake/mod.rs @@ -311,6 +311,10 @@ pub(crate) trait Host: Clone + Send + Sync + 'static { /// Makes the next sync count as initial again. fn reset_initial_sync(&self); + /// Resolves when the remake worker has something to look at that no change of the + /// document tells: a peer said another epoch than this node's. + fn remake_woken(&self) -> impl Future<Output = ()> + Send; + /// Store paths touched by each published document change. fn subscribe_changes(&self) -> broadcast::Receiver<Arc<ChangeSet>>; |
