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

New article: parallel execution #5

Open
harell opened this issue Apr 13, 2021 · 1 comment
Open

New article: parallel execution #5

harell opened this issue Apr 13, 2021 · 1 comment
Milestone

Comments

@harell
Copy link
Member

harell commented Apr 13, 2021

@harell harell added this to the v0.2.0 milestone Apr 13, 2021
@harell
Copy link
Member Author

harell commented Apr 13, 2021

modify_url <- purrr::partial(httr::modify_url, url = "", hostname = "127.0.0.1", port = 8080, scheme = "http")

#* Double check
#* Respond when you ask it if a service is available.
#* @serializer unboxedJSON list(na = NULL)
#* @get doublecheck
function(){
    message("--> doublecheck: Request Received")
    url <- modify_url(path = c("utility", "healthcheck"))
    promises::future_promise(httr::GET(url = url))
    return(NULL)
}

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

No branches or pull requests

1 participant