Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi - framework/platform support #90

Open
ShikaSD opened this issue Jun 24, 2019 · 1 comment
Open

Multi - framework/platform support #90

ShikaSD opened this issue Jun 24, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@ShikaSD
Copy link
Contributor

ShikaSD commented Jun 24, 2019

This proposal allows us to move on from RxJava only implementation.

The general idea is to have a minimalistic "core" as a Kotlin MPP module with our own implementation of the base types: Source<T>, Consumer<T>, Feature and Binder.

The framework level contains a set of extensions to convert between "core" types to framework ones (e.g. from Source<T> to ObservableSource<T> from Rx and vice versa). In current PoC, we need to provide the following implementations:

  • Conversion between Source and Consumer to framework types
  • Feature implementation with framework source type (optional)
  • Binder extensions for framework type (optional)

As we don't do any thread/concurrency management in the "core" implementation, I suspect we need to have some checks (similar to current SameThreadVerifier) in place to prevent race conditions.

@ShikaSD ShikaSD changed the title Multiframework/platform support Multi - framework/platform support Jun 24, 2019
@ShikaSD ShikaSD mentioned this issue Jun 24, 2019
8 tasks
@zsoltk zsoltk added this to the 2.0 milestone Jun 24, 2019
@zsoltk zsoltk added the enhancement New feature or request label Jun 24, 2019
@maxcruz
Copy link

maxcruz commented Nov 13, 2021

I love this idea; it would make the adoption of the framework more flexible if it's possible to have adapters for Flow, Reaktive, RxJava2/3. Besides, it would be helpful to decouple the reactive implementation of a feature with the framework itself.

I wonder if there is any progress in this direction and how to contribute to making it real.
The PoC link is broken/not visible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants