Hi, is there any more detailed information availab...
# prefect-community
Hi, is there any more detailed information available on running long-running flows in Prefect 2.0? Or are they exactly the same as regular ones and I can simply do
while True:
if x:
And deploy & manage as usual?
Hi Michal, I've seen some proposals for listener tasks/flow runners to be implemented, but as of now, something like this could be achieved either by looping the task or flow(as you are doing) or by triggering a flow with lambda events. It may also be worth while just using a interval schedule clock to run the flow very frequently. I am not sure of your use case, but I hope this helps https://medium.com/the-prefect-blog/event-driven-workflows-with-aws-lambda-2ef9d8cc8f1a https://docs.prefect.io/api/latest/schedules/clocks.html
For infinitely running flows it should be as simple as that