bbovenzi commented on PR #76539:
URL: https://github.com/apache/airflow/pull/76539#issuecomment-6981699738

   ```ts
   const evaluated = refine.task(evaluate)({ estimate: refine.task(improve)() 
});
   ```
   
   
   In your example we have nested IIFEs. Even a single one can be hard to 
understand when scanning through code. Perhaps instead:
   
   
   ```ts
   const evaluated = loop.task("evaluate", evaluate, { inputs: { estimate: 
loop.task("improve", improve) } })
   ```
   
   or 
   
   ```ts
   const evaluated = loop.task("evaluate", evaluate, {
     inputs: { estimate: loop.task("improve", improve, { inputs: { previous: 
loop.previous } }) },
   });
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to