question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SDK] Migrate Services API from MatrixCallback mode to coroutines

See original GitHub issue

This work has already been started by @Dominaezzz , and this issue is here to track the progress and the remaining works.

Note: every new API should now use suspend functions instread of MatrixCallback

List of services

  • AccountDataService (#3079)
  • AccountService (#2354)
  • AliasService (new service #2439)
  • AuthenticationService (#2836)
  • CacheService (#2701)
  • CallSignalingService (#2830)
  • CrossSigningService
  • CryptoService
  • DraftService (#2405)
  • FederationService (nothing to do)
  • FileService (#3081)
  • FilterService (nothing to do)
  • Group (#2413)
  • GroupService (nothing to do)
  • HomeServerCapabilitiesService (nothing to do)
  • HomeServerHistoryService (nothing to do)
  • IdentityService (#3069)
  • InitialSyncProgressService (nothing to do)
  • IntegrationManagerService (#2457)
  • KeysBackupService
  • MembershipService (#3080)
  • PermalinkService (nothing to do)
  • ProfileService (#3074)
  • PushRuleService (#2414)
  • PushersService (#3077)
  • RawService (#2406)
  • ReadService (#3075)
  • RelationService (in progress #3070)
  • ReportingService (#2402)
  • Room (#3091)
  • RoomCallService (nothing to do)
  • RoomCryptoService (#2376)
  • RoomDirectoryService (#2975)
  • RoomPushRuleService (#2382)
  • RoomService (#3104)
  • SearchService (#2415)
  • SecureStorageService (nothing to do)
  • SendService
  • SharedSecretStorageService (#3079)
  • SignOutService (#2701)
  • StateService (#2500)
  • TagsService (#2401)
  • TermsService (#2460)
  • TimelineService (nothing to do)
  • ThirdPartyService (nothing to do)
  • TypingService (nothing to do)
  • UploadsService (#2459)
  • UserService (#3076)
  • VerificationService (#3072)
  • WidgetService (#3073)

Other classes to migrate

  • DefaultTypingService (#3445)
  • KeysImporter (#3445)
  • KeysExporter (#3445)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bmartycommented, Mar 31, 2021

Thanks a lot for your work @Dominaezzz! I’ve updated the description of this issue.

1reaction
Dominaezzzcommented, Mar 27, 2021

You can tick StateService now btw.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating to the new coroutines 1.6 test APIs | by Marton Braun
We've recently migrated our own samples to the new coroutine testing APIs. See the steps we took to learn how you can migrate...
Read more >
Use Kotlin coroutines with lifecycle-aware components
Kotlin coroutines provide an API that enables you to write asynchronous code. With Kotlin coroutines, you can define a CoroutineScope ...
Read more >
How can I transfer data between two SDK's in the same app in ...
I need a way to listen to events but I can know the Coroutine class created for that for example. android · kotlin-coroutines...
Read more >
Simplifying APIs with coroutines and Flow - Manuel Vivo .dev
These functions convert a reactive stream into Flow. Android specific APIs. For Jetpack libraries or Android platform APIs, take a look at the ......
Read more >
Coroutines - AWS SDK for Kotlin
To make service calls from existing code that doesn't use coroutines and implements a different threading model, you can use the runBlocking coroutine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found