j

    Justin Shimkovitz

    2 years ago
    Hi, I am new to prefect and just finished reading through the documentation. Question about
    map
    responses. When I send a list of elements to a task and one element sent to the task finishes and returns a response, is it possible to move that response to the next task before the rest of the original elements finish in the first task? Thanks in advance!
    Chris White

    Chris White

    2 years ago
    Hi @Justin Shimkovitz - welcome to the community! This is a great question — we call this feature “depth first execution” (as opposed to “breadth first”) and it is prioritized for one of our next releases: https://github.com/PrefectHQ/prefect/issues/2041
    j

    Justin Shimkovitz

    2 years ago
    Cool, thanks for the reply!