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: 6/6/2023, 4:05:10 AM
Contributors: John