diff options
Diffstat (limited to 'src/state/host.rs')
| -rw-r--r-- | src/state/host.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/state/host.rs b/src/state/host.rs index 66bb71c..9f6ff2b 100644 --- a/src/state/host.rs +++ b/src/state/host.rs @@ -371,6 +371,11 @@ impl Host for AppState { crate::swarm::source::reset(self); } + fn remake_woken(&self) -> impl Future<Output = ()> + Send { + let wake = Arc::clone(&self.remake_wake); + async move { wake.notified().await } + } + fn subscribe_changes(&self) -> broadcast::Receiver<Arc<ChangeSet>> { self.change_events.subscribe() } |
