RxPY
RxPY copied to clipboard
Kivy scheduler is not in the library
I want to use Rx with Kivy, but it does not come with a scheduler for it. I know from past experience that to implement the Elm pattern I will need to dispatch the closures on the event loop, and to do that I will need a scheduler for the subscribers to go through. Would the scheduler be hard to implement?
Actually, I remembered wrong. Looking at one of my old implementations of the Elm pattern in F#, I see that in the past I ran into the issue of WPF not having a Rx scheduler and got around that by using the the dispatcher directly instead. Kivy has its Clock which should fill the role nicely.
So that fills my need. It might be still be good to put in a Kivy scheduler specifically in the Python Rx library, so I won't close the issue.
Glad that you found a solution. Let's keep this issue open for now. Personally, I would rather move the existing schedulers to dedicated packages/repos rather than adding new schedulers in rxpy. This could be a way to ensure that they are actively maintained and tested.