matrix-sdk: Don't require Send for the sync callback.

master
Damir Jelić 2020-05-29 09:29:53 +02:00
parent 16f4021800
commit 8ee6c3bdc8
1 changed files with 1 additions and 1 deletions

View File

@ -856,7 +856,7 @@ impl Client {
pub async fn sync_forever<C>( pub async fn sync_forever<C>(
&self, &self,
sync_settings: SyncSettings, sync_settings: SyncSettings,
callback: impl Fn(sync_events::Response) -> C + Send, callback: impl Fn(sync_events::Response) -> C,
) where ) where
C: Future<Output = ()>, C: Future<Output = ()>,
{ {