dstandish opened a new issue, #33663:
URL: https://github.com/apache/airflow/issues/33663

   ### Body
   
   could be cool
   
   you just have to make it so that the function gets re-entered
   
   then you could have something like
   
   ```python
   @task
   def my_deferrable(event=None):
       if event:
            do something
       else:
           do something and then defer
   ```
   
   There have been other ideas, doing something with yield
   
   cc @uranusjr since we chatted about it at one point
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
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