Skip to content

Commit

Permalink
Merge branch 'clone_usefuturehandle' of https://github.com/AdamSteinb…
Browse files Browse the repository at this point in the history
…erg1/yew into clone_usefuturehandle
  • Loading branch information
AdamSteinberg1 committed Nov 17, 2023
2 parents 2e76ba4 + fed8490 commit 7d51246
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/yew/src/suspense/hooks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use yew::suspense::{Suspension, SuspensionResult};
///
/// A [Suspension] is created from the passed future and the result of the future
/// is the output of the suspension.
#[derive(Clone)]
pub struct UseFutureHandle<O> {
inner: UseStateHandle<Option<O>>,
}
Expand Down

0 comments on commit 7d51246

Please sign in to comment.