Skip to content

Commit

Permalink
Remove the Send requirement on a local Action's future (fixes #3309) (#…
Browse files Browse the repository at this point in the history
…3310)

Co-authored-by: Robert Macomber <robertm@mox>
  • Loading branch information
rjmac and Robert Macomber authored Dec 2, 2024
1 parent fcba8b3 commit 6331b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactive_graph/src/actions/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ where
pub fn new_local<F, Fu>(action_fn: F) -> Self
where
F: Fn(&I) -> Fu + 'static,
Fu: Future<Output = O> + Send + 'static,
Fu: Future<Output = O> + 'static,
{
Self {
inner: ArenaItem::new_local(ArcAction::new_unsync(action_fn)),
Expand Down

0 comments on commit 6331b48

Please sign in to comment.