We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following a conversation with @psolymos:
Create a add_endpoint_async that will create the skeleton for a promise based endpoint handler.
Maybe add the information in the YAML so that when building the plumber.R file and running the API in run_dev
The text was updated successfully, but these errors were encountered:
Example skeleton:
library(promises) library(future.callr) plan(callr, workers = 2L) #* @post /async_endpoint function(req, res, callback) { if (missing(callback)) callback <- NULL promises::future_promise({ FUN(..., callback = callback) }) list("Async job started") }
Sorry, something went wrong.
No branches or pull requests
Following a conversation with @psolymos:
Create a add_endpoint_async that will create the skeleton for a promise based endpoint handler.
Maybe add the information in the YAML so that when building the plumber.R file and running the API in run_dev
The text was updated successfully, but these errors were encountered: