Return to just TaskId, still polling
This commit is contained in:
1 parent
69ca1fd8a7
commit
fdce7bbe5a
8 files changed
+26
-34
No files matched your search
@@ -76,7 +76,7 @@ where
|
||||
cx.remove_future(current);
|
||||
}
|
||||
|
||||
state.task.set(cx.push_future(async move {
|
||||
state.task.set(Some(cx.push_future(async move {
|
||||
let data;
|
||||
#[cfg(feature = "ssr")]
|
||||
{
|
||||
@@ -94,7 +94,7 @@ where
|
||||
*value.borrow_mut() = Some(Box::new(data));
|
||||
|
||||
schedule_update();
|
||||
}));
|
||||
})));
|
||||
}
|
||||
|
||||
if first_run {
|
||||
|
||||
Reference in new issue
Block a user