Skip to content

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

Description

@ShenAoScript

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions