feat: some docs, cleaning
This commit is contained in:
1 parent
acad9ca622
commit
c321532a6c
19 files changed
+269
-195
No files matched your search
@@ -119,13 +119,11 @@ where
|
||||
let slot = task_dump.clone();
|
||||
|
||||
let updater = cx.prepare_update();
|
||||
let update_id = cx.get_scope_id();
|
||||
|
||||
let originator = cx.scope.our_arena_idx.clone();
|
||||
let originator = cx.scope.our_arena_idx;
|
||||
|
||||
let handle = cx.submit_task(Box::pin(task_fut.then(move |output| async move {
|
||||
*slot.as_ref().borrow_mut() = Some(output);
|
||||
updater(update_id);
|
||||
updater(originator);
|
||||
originator
|
||||
})));
|
||||
|
||||
|
||||
Reference in new issue
Block a user