JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

jpm/dagbuild/pdag

jpm


    function
    /usr/local/lib/janet/jpm/dagbuild.janet on line 29, column 1

    (pdag f dag &opt n-workers)

    Executes a dag by calling f on every node in the graph. Can set the 
    number of workers for parallel execution. The graph is represented 
    as a table mapping nodes to arrays of child nodes. Each node will 
    only be evaluated after all children have been evaluated. Returns a 
    table mapping each node to the result of `(f node)`.


0 examplesSign in to add an example
Loading...