Spawn Command futures in iced_web

This commit is contained in:
Héctor Ramón Jiménez 2019-11-24 11:25:14 +01:00
parent 5b8f6948bb
commit 9f3abe9202
6 changed files with 36 additions and 18 deletions

View file

@ -15,7 +15,7 @@ pub struct Bus<Message> {
impl<Message> Bus<Message>
where
Message: 'static,
Message: 'static + Clone,
{
pub(crate) fn new() -> Self {
Self {