matrix-sdk: Don't require Send for the sync callback.
This commit is contained in:
parent
16f4021800
commit
8ee6c3bdc8
1 changed files with 1 additions and 1 deletions
|
@ -856,7 +856,7 @@ impl Client {
|
|||
pub async fn sync_forever<C>(
|
||||
&self,
|
||||
sync_settings: SyncSettings,
|
||||
callback: impl Fn(sync_events::Response) -> C + Send,
|
||||
callback: impl Fn(sync_events::Response) -> C,
|
||||
) where
|
||||
C: Future<Output = ()>,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue