-
Notifications
You must be signed in to change notification settings - Fork 258
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 support for returning promises from endpoints #248
Conversation
Codecov Report
@@ Coverage Diff @@
## master #248 +/- ##
=========================================
Coverage ? 89.41%
=========================================
Files ? 28
Lines ? 1568
Branches ? 0
=========================================
Hits ? 1402
Misses ? 166
Partials ? 0
Continue to review full report at Codecov.
|
Are promises/a-sync processing supported in plumber yet? I somehow need to have a-sync processing on Google App Engine/Flex with a docker container. I looked into docker-compose and docker swarm, but it does not appear GAE supports those yet. |
After some searching, I found that https://github.com/dselivanov/RestRserve supports concurrent connections. I really like the simplicity of plumber, but until it can handle multiple requests, I can't use it in a production environment. |
Any future plans on this? It would be great to have concurrent connections. |
@shrektan Yes! This is definitely on our radar. I am really pushing for this to happen before the next CRAN release. |
* master: use rtools within appveyor (#381)
* master: Remove the Date header as httpuv does this automatically now (#380)
* Non-working wip with promise domain based forwarding * clean up code * reset forwarding at the beginning of a handle or mounts within a route call * if a filter has forwarded, return like normal, otherwise copy the serializer
…called in a filter
* promises: remove debug error message and add comment
* promises: fix how `runHooks` handles promises
bounce errors up until they are handled
* wrap inside of runStep with a while(TRUE) to avoid recursion for sync execution * allow for looping by returning x in the try catch of the sync loop * formatting and comment * Add many comments. Call init runStep in tryCatch. (simplifies inner sync tryCatch / error handling)
* master: add serializer_rds and serializer_rds3 (#387) Support around non-ASCII key values in query string (#396) update host from 0.0.0.0 to 127.0.0.1 (and [::] to [::1]) for swagger url only (#376) Add support for returning promises from endpoints (#248) use httpuv url encode / decode (#355) Add support for serializer parameters in plumber block (#356)
TODO: