[SDK] Migrate Services API from MatrixCallback mode to coroutines
See original GitHub issueThis 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:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot for your work @Dominaezzz! I’ve updated the description of this issue.
You can tick
StateService
now btw.