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: 9/4/2021, 4:37:43 PM
Contributors: John