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

Add more advanced example using async-await, pipes, etc. #295

Open
sebas2day opened this issue Jul 11, 2019 · 1 comment
Open

Add more advanced example using async-await, pipes, etc. #295

sebas2day opened this issue Jul 11, 2019 · 1 comment

Comments

@sebas2day
Copy link

Hi, I'm interested in using Mostjs but I find it difficult to find a good, somewhat "more complex" example, where it is using for instance pipes (like those in RamdaJS) in combination with async-await (or promises).

Also some implementation of a custom scheduler-task mechanism rather than the generally used newDefaultScheduler to explain the need/differences would be nice together with some logic of merges/combines/chains of streams.

What are your thoughts?

@davidchase
Copy link
Member

@sebas2day you make a good point about more complex examples. Would you like to contribute some of those examples yourself?

In the meantime you can check out some wonderful examples from @briancavalier
https://github.com/briancavalier/mostcore-todomvc (@most/core)
https://github.com/briancavalier/most-todomvc (cujojs/most)

with regards to your second question have you had a look at the VirtualTimer? we use it when writing tests

I think another interesting implementation could be to make a rAF based timer

let me know if any of this helps but i agree we should add some more official non-trivial examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants