-
Notifications
You must be signed in to change notification settings - Fork 66
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
Better usage examples #167
Comments
That would be so valuable. This project looks great but I'm having a difficult time figuring out how to use it fully. @utilForever if we could get some basic snippets that show examples of custom observables/observers, usage of SharedSubject & LocalSubject, passing observables around safely, how to use Connectable, etc; the community can turn those into documentation quickly. Right now I'm not sure if there are parts of the project I'm misusing or are missing and I should figure out how to add and submit a PR. One scenario I'm having difficulty with: I need a Subject that I can store, |
@agg23 @jsoverson thanks for your comments. I'm sorry for replying late and not provide a better documents. I am not satisfied with the current implementation for local & shared, it's too complicated, I plan to refactor it and then update the docs, but it'll not coming soon, because I'm focusing on an another big library these months which used @agg23 For a not @jsoverson you can use |
Thanks for the reply @M-Adoo. I'm still having trouble figuring out how to use rxRust. I'm trying to use it as the rx implementation for a reactive streams project but I can't make any meaningful progress. Are you in any chat/discord/etc servers? If I can just get productive I'll be able to contribute a bunch of docs and usage examples via the dependent project. |
@jsoverson There are some tutorials about reactive programming. |
Hmm... I'm using this library in an in-house project. I'll add some examples soon. |
I'm struggling to find an idiomatic way to write down the type of observables. For example, if I create a complex observable by chaining many operators, and decide to store it in a struct for further use (instead of subscribing immediately so I can store it in a local variable and let the type inference do the job for me), how should I write the type of the said observable? |
@hilin a bit late, but look for |
I have been trying to figure out this library on and off for a few months, and its complexity and lack of examples has been quite a challenge. I would love to see how people are managing lifetimes and threading with types like
SharedSubject
.The text was updated successfully, but these errors were encountered: