-
Notifications
You must be signed in to change notification settings - Fork 137
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
putAsync/takeAsync should return a Promise #109
Comments
I totally agree with this - I would probably get rid of the callbacks completely, but that would be a breaking change |
Quite a big change, but let me see if I could support it. By the way, I don't use putAsync much, I usually just create a go block and use put. |
From my personal side, I also do not use it that much (there are some edge cases where I should). Just out of curiosity, are you using |
Ah I just use it for some companies project (not open-source) to handle complex state. For example, implement the behavior of Om cursor (but I think they already go with query expression) to control the application state, implement pubsub like flux, or use it with redux. |
Many projects are already written in koa/co (in our company projects) and it's would be nice if we can still follow our own coding style instead of wrapping inside one Btw, |
One way to go about this is to provide alternatives to |
Does anybody of you have nice experience of using CSP to handle complex User Interface scenarios? |
yes 🤔 |
@hung-phan Cool - are you willing to share some informations? I would be really interested. |
@XVincentX refer this article for using CSP in UI with ReactJS |
Just like their names, these functions should return a Promise (maybe when no callback function specified)
Use with es7 async/await function
Use with other libraries like co
The text was updated successfully, but these errors were encountered: