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

[help]About whether a subrequest can be nonblocked #89

Open
ShenAoScript opened this issue Dec 18, 2020 · 0 comments
Open

[help]About whether a subrequest can be nonblocked #89

ShenAoScript opened this issue Dec 18, 2020 · 0 comments

Comments

@ShenAoScript
Copy link

Ask the group boss a question about the Nginx subrequest

I learned that a subrequest can be called back to the parent request after successful execution

If One of my primary requests is doing asynchronous calculations, the two compute request tasks are independent of each other, but task 2 depends on the result of task 1.

Can subRequest solve the problem of blocking wait? It's like Java's CompletableFuture.

Since I saw that subRequest seemed to have a callback function, I thought it would work, but just getting started with module development,

thank you

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