Explorar o código

clear subscriber method

Jonathan Kelley hai 1 ano
pai
achega
894a79d3df
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      packages/signals/src/rc.rs

+ 0 - 5
packages/signals/src/rc.rs

@@ -104,11 +104,6 @@ impl ReactiveContext {
             .insert(signal, rc_list);
     }
 
-    /// Clear all subscribers from this reactive context
-    pub fn clear_subscribers(&self) {
-        todo!()
-    }
-
     /// Wait for this reactive context to change
     pub async fn changed(&self) {
         let rx = self.inner.read().receiver.clone();