Dependent Request

Sometimes, you may encounter a situation where network requests depend on each other. For example, there are two requests (A and B); the request parameters of B request depend on the return result of A request. At this time, you can use ready to handle this dependency.

As shown below, ready receives a Ref<boolean>, and when the result is true, the second request will be issued.

Last Updated: 2/11/2022, 8:31:25 AM
Contributors: John