skeleton of use_server_future with reactivity
This commit is contained in:
11 files changed
+200
-193
No files matched your search
@@ -127,7 +127,7 @@ impl<T> Coroutine<T> {
|
||||
/// Forces the component to re-render, which will re-invoke the coroutine.
|
||||
pub fn restart(&mut self) {
|
||||
self.needs_regen.set(true);
|
||||
self.task().stop();
|
||||
self.task().cancel();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user