Fix Send requirements for Wasm targets
This commit is contained in:
parent
a25b1af456
commit
b328da2c71
4 changed files with 7 additions and 7 deletions
|
|
@ -52,7 +52,7 @@ impl<T> Task<T> {
|
|||
/// its output.
|
||||
pub fn widget(operation: impl widget::Operation<T> + 'static) -> Task<T>
|
||||
where
|
||||
T: MaybeSend + 'static,
|
||||
T: Send + 'static,
|
||||
{
|
||||
Self::channel(move |sender| {
|
||||
let operation =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue