matrix-sdk: Don't require Send for the sync callback.
parent
16f4021800
commit
8ee6c3bdc8
|
@ -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 = ()>,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue