Airflow, for instance, have <Sensors>. Sensors wai...
# prefect-community
Airflow, for instance, have Sensors. Sensors wait for something external to happen.
We don’t have sensors, but you could put the polling logic inside a task or a flow. Or you can make the event trigger the flow like i mentioned above
I suppose that is not as good as exposing blocking tasks as REST endpoints. I’ll need to find another product. I see that Google Workflows have callbacks ( ) . It’s unfortunate that Prefect doesn’t have this.
@Gustavo Frederico we have a detailed walkthrough about how you can approach it here
Prefect provides several methods of approaching that problem, even if we don't call it sensors. Happy to answer your questions about this orchestration pattern - what's the use case you tried to solve with sensors? Are you waiting for some files to arrive?