Thread
#prefect-community
    Tarek

    Tarek

    4 months ago
    hi, i am new to prefect, i was able to run task in parallel using: flow.run(executor=LocalDaskExecutor()), but calling run() is blocking tell all tasks are finished, possible to call run in non-blocking way? so the run()-call returns immediately
    Kevin Kho

    Kevin Kho

    4 months ago
    No it’s not because Prefect 1 has a
    gather
    call in the code to execute tasks immediately so they are synchronous
    You don’t intend to move to Cloud?
    Tarek

    Tarek

    3 months ago
    thanks for the answer , if i move to cloud, what will be different then?
    Kevin Kho

    Kevin Kho

    3 months ago
    The agent will make the new process and you can have concurrent flows. It won’t be blocking
    Tarek

    Tarek

    3 months ago
    thanks..  i will try it..